Thursday, March 3, 2011

How to access FTP site from LINUX & WINDOWS machines thru command line.

How to access FTP site from LINUX & WINDOWS machines.

Linux machines

[root@hostname~]#ftp

Eg: ftp 192.168.0.250
Eg: ftp Servername

ftp>

Options
ls --> List the contains of files and directory.
cd --> change directory
put --> to upload single file to FTP Server.
mput --> to upload multiple files to FTP Server.
get --> to download single file from FTP server.
mget --> to download multiple files from FTP Server.
bye --> to quit from FTP server.

Windows machines

Go to Start --> RUN --> Type CMD (Enter)

C:\>ftp
ftp

Eg: ftp 192.168.0.250
Eg: ftp Servername

ftp>


Options
ls --> List the contains of files and directory.
cd --> change directory
put --> to upload single file to FTP Server.
mput --> to upload multiple files to FTP Server.
get --> to download single file from FTP server.
mget --> to download multiple files from FTP Server.
bye --> to quit from FTP server.

Wednesday, February 23, 2011

Linux Basic Commands



Linux Commands for Beginning Server Administrators
Basic Commands
To check present working Directory.
[root@localhost ~] # PWD
/root
To check content of directory (folder)
[root@localhost ~] # ls
Creating files and adding data using CAT command. {Use Ctrl + D to save file}
[root@localhost ~] # CAT > File name {to create file}
[root@localhost ~] # CAT File name {to view file contents}
[root@localhost ~] # CAT >> File name {to append file or adding more data}
[root@localhost ~] # arp {Command mostly used for checking existing Ethernet connectivity and IP address.}
[root@localhost ~] # ifconfig {Command line tool to configure or check all network cards/interfaces} [root@localhost ~] # init {Allows you to change the server bootup on a specific runlevel}
[root@localhost ~] # netstat {Summary of network connections and status of sockets}
[root@localhost ~] # nslookup {Checks the domain name and IP information of a server}
[root@localhost ~] # ping {Sends test packets to a specified server to check if it is responding properly}
[root@localhost ~] # rm {Removes/deletes directories and files} [root@localhost ~] # route {Lists the routing tables for your server}
[root@localhost ~] # touch {Allows you to change the timestamp on a file.}
[root@localhost ~] # traceroute {Traces the existing network routing for a remote or local server}