Unix Commands Part 6
cu,ftp,login, rlogin,talk,telnet, vacation and write .
Cu command.
cu command is used for communications over a modem or direct line with another Unix system.
Syntax is
cu options destination
- Options
- -bn process lines using n-bit characters (7 or 8).
- -cname Search UUCP's device file and select local area network that matches name.
- -d Prints diagnostics.
- -e sends even parity data to remote system
- -lline communicate on this device (line=/dev/tty001, etc)
- -n prompts for a telephone number.
- -sn set transmission rate to n(e.g 1200,2400,9600, BPS)
- Destination
- telno is the telephone number of the modem to connect to.
- system is call the system known to uucp.
- aadr is an address specific to LAN.
Ftp command (protocol).
ftp command is used to execute ftp protocol using which files are transferred over two systems.
Syntax is
ftp options hostname
- options
- -d enable debugging.
- -g disable filename globbing.
- -i turn off interactive prompts.
- -v verbose on. show all responses from remote server.
Login command.
login command invokes a login session to a Unix system, which then authenticates the login to a system. System prompts you to enter userid and password.
Rlogin command.
rlogin command is used to log on to remote Unix systems, user must have permissions on both systems as well as same userid, or an id defined in .rhosts file. Syntax is
rlogin options host
- options
- -8 will allow 8 bit data to pass, instead of 7-bit data.
- -e c will let you use escape character c.
- -l user will let you to login as user to remote host, instead of same as local host.
Talk command.
talk command is used to invoke talk program available on all unix system which lets two users exchange information back and forth in real time. Syntax is
talk userid@hostname
Telnet command.
Telnet command invokes a telnet protocol which lets you log on to different unix, vms or any machine connected over TCP/IP protocol, IPx protocol or otherwise. Syntax is
telnet hostname
Vacation command.
vacation command is used when you are out of office. It returns a mail message to sender announcing that you are on vacation. to disable this feature, type mail -F " " .
syntax is
vacation options
- Options
- -d will append the date to the logfile.
- -F user will forward mail to user when unable to send mail to mailfile.
- -l logfile will record in the logfile the names of senders who received automatic reply.
- -m mailfile will save received messages in mailfile.
Write command will initiate an interactive conversation with user. Syntax is
write user tty
Comments