Академический Документы
Профессиональный Документы
Культура Документы
To transfer files between host computers and so on without logging into a user
session at the remote system
i.e. if u are currently on host1 and u use Cu to connect to host2 ,u can connect to host3
than host2, so that u are connected directly to host2 and indirectly to host3
-sspeed specify the speed (in bounds) of the line to be used for communication
between hosts.
-Tseconds specify the length of time unix will try to connect to the remote host.
- Once you are able to successfully log into the remote host, u can use
Several subcommands.
- Remember to prefix the ~ with a \ so that unix does not apply special meaning to –
~%cd dir - Change the directory on the local host to the specified
directory.
cu remote2
lu –s 2400 –l tty1
- To execute the ls command on the local system, execute the following command ;
o ~!ls
FTP :-
ftp otherhost
open otherhost
get filename
put filename
close
bye or quit
mailx
- u can send mail to other users in the system and receive mail from them by using the
mailx commands.
- It also provides subcommands to facilitate saving,deleting and responding to messages.
- Also provides facilities to compose and edit messages before finally sending it to one or
more users.
- Unix uses mailboxes to receive mail for a user.
- Each user has a system mailbox in which all mail for that useris received pending action
by the user.
- The user can read, save and delete the mail after the mail is received.
- The default secondary mailbox is called the mbox. It is usually present in the home dir.
of the user.
Ex :-
Mailx
- terminated by ctrl – d
Talk :-
- U can converse with another user in real time using the talk command if
- The user on the remote host can be specified in one of the following formats.
o username@host
o host!username
o host.username
o host;username
when u execute the talk command, it opens 2 windows,
- One for sending messages and
- One for receiving messages
The command waits for the other user to respond.
Ex :-
talk testuser@host1
Vacation :-
If u want to notify a mail sender that u are on vacation, u can use the vacation command.
Before u go on vacation, use the following command to initialize the .vacation.dir and
.vacation.peg files in your home directory
Vacation –I
This should be followed by the creation of the .forward & .vacation.msg files.
Write :-
We can use the write command to hold a conversation with another user in the local host or
remote host, just as u can with the talk command.