write command
Send a message to another user who is logged in.
Syntax
Example
in above command mithun.s sending message to mukesh.kumar as 'hi mukesh ,how are you ?'
Now mukesh.kumar will get this on his terminal as below
mesg command
allow and disallow to other user to send message to you.
Syntax
Example
Disallow other users to send you message.
To allow other users to send you message type
Note : Even if user disables the message he/she would receive the messages from the root.
wall command
Send a message to all the logged in user who having message recieving permission as yes.
Syntax
Example
ftp command
Ftp (File Transfer Protocol) is the user interface to the Internet standard File Transfer Protocol.
The program allows a user to transfer files to and from a remote network site.
Syntax
put command
to copy one file from the local machine to the remote machine
get command
To copy one file from the remote machine to the local machine
To copy multiple files from the local machine to the remote machine;
you are prompted for a y/n answer before transferring each file
copy all from the local machine to the remote machine,which are starting from 'f'.
To copy multiple files from the remote machine to the local machine;
you are prompted for a y/n answer before transferring each file
To copy all files from remote machine to the local machine which are starting from 'f'.
To exit the FTP environment (same as quit)
To terminate a connection with another computer
System will give “Good Bye” message then type bye
To request a list of all available FTP commands
User can also type ‘?’ symbol for to list all FTP command
Used to execute any command in local machine
It shifts the control from ftp prompt to local machine
This will shift the control from ftp prompt to local machine. Now user can perform any operation in local system by using the command prompt.
To shift the control back to ftp prompt, use exit command.
Send a message to another user who is logged in.
Syntax
$ write <user_name>
Example
mithun.s@mks-laptop:~$ write mukesh.kumar
write: mukesh.kumar is logged in more than once; writing to pts/0
hi mukesh ,how are you ?
write: mukesh.kumar is logged in more than once; writing to pts/0
hi mukesh ,how are you ?
in above command mithun.s sending message to mukesh.kumar as 'hi mukesh ,how are you ?'
Now mukesh.kumar will get this on his terminal as below
mukesh.kumar@mks-laptop:~$
Message from mithun.s@mks-laptop on pts/2 at 13:32 ...
hi mukesh
Message from mithun.s@mks-laptop on pts/2 at 13:32 ...
hi mukesh
mesg command
allow and disallow to other user to send message to you.
Syntax
$ mesg y[or n]
Example
$ mesg -- Displays the status as below
is y
is y
Disallow other users to send you message.
$ mesg n
$ mesg -- Now it displays the status as below
is n
$ mesg -- Now it displays the status as below
is n
To allow other users to send you message type
$ mesg y
Note : Even if user disables the message he/she would receive the messages from the root.
wall command
Send a message to all the logged in user who having message recieving permission as yes.
Syntax
$ wall [-n] [-t TIMEOUT] [file]
-n : no banner
-t : timeout ,default time out is 300 sec
-n : no banner
-t : timeout ,default time out is 300 sec
Example
$ wall hello world
Broadcast message from root (pts/1) (Thu Feb 27 15:06:04 IST 2014):
hello world
Broadcast message from root (pts/1) (Thu Feb 27 15:06:04 IST 2014):
hello world
ftp command
Ftp (File Transfer Protocol) is the user interface to the Internet standard File Transfer Protocol.
The program allows a user to transfer files to and from a remote network site.
Syntax
$ ftp [hostname]
put command
to copy one file from the local machine to the remote machine
$ put filename
get command
To copy one file from the remote machine to the local machine
$ get filename
To copy multiple files from the local machine to the remote machine;
you are prompted for a y/n answer before transferring each file
$ mput file1 [file2...]
copy all from the local machine to the remote machine,which are starting from 'f'.
$ mput f*
To copy multiple files from the remote machine to the local machine;
you are prompted for a y/n answer before transferring each file
$ mget file1 [file2...]
To copy all files from remote machine to the local machine which are starting from 'f'.
$ mget f*
To exit the FTP environment (same as quit)
$ bye
To terminate a connection with another computer
System will give “Good Bye” message then type bye
$ close
To request a list of all available FTP commands
$ help or $ ?
User can also type ‘?’ symbol for to list all FTP command
![Command]
Syntax
$ ![Command [arg...]]
Syntax
$ ![Command [arg...]]
Used to execute any command in local machine
It shifts the control from ftp prompt to local machine
$ !
This will shift the control from ftp prompt to local machine. Now user can perform any operation in local system by using the command prompt.
To shift the control back to ftp prompt, use exit command.