What is lynx command
Filed under: Shell Scripting Interview Questions, Unix Command Interview Questions
lynx lets you browse the web from an ordinary terminal. Of course you can see only the text,
not the pictures. You can type any URL as an argument to the G command. When you’re doing this
from any Stanford host you can leave out the .stanford.edu part of the URL when connecting
to Stanford URLs. Type H at any time to learn more about lynx, and Q to exit
How to check disk usage and disk space in UNIX
du filename — shows the disk usage of the files and directories in filename (without argument the current directory is used). du -s gives only a total.
What is the port no for telnet
Telnet is a client-server protocol, based on a reliable connection-oriented transport. Typically this protocol is used to establish a connection to Transmission Control Protocol (TCP) port number 23, where a Telnet server application (telnetd) is listening. Telnet, however, predates TCP/IP and was originally run over Network Control Program (NCP) protocols.
telnet hostname
How to use FTP commands to copy file ?
What is the port Number for FTP
FTP (File Transfer Protocol) port number 21 is a reserved port in TCP/IP networking
FTP lets you download files from a remote host which is set up as an ftp-server.
This is a common method for exchanging academic papers and drafts.
ftp hostname (To connect the hostname)
get to copy one file from the remote machine to the local machine
get abc.txt copies file ABC in the current remote directory in your current local directory.
mget 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 *
put
mput 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 *
quit to exit the FTP environment (same as bye)
rmdir to to remove (delete) a directory in the current remote directory
open to open a connection with another computer
