welcome to the video tutorial on
communication and linux while working on
a linux operating system you may need to
communicate with other devices for this
you can use some basic utilities which
will help you communicate with networks
are the Linux systems and remote users
so let us learn them one by one starting
with pain this utility is commonly used
to check whether your connection to the
server is healthy or not this command is
also used in analyzing Network and host
connections tracking network performance
and managing it testing hardware and
software issues the ping command is penc
space IP address or the host name let's
try some of its examples on terminal on
running ping space the IP address the
system sends 64 bytes of data to the IP
address if even one of the data packets
does not return or is lost it could
suggest an error in the connection you
can press the ctrl C key combination to
exit from the Peng loop similarly we can
use Peng space the hostname we will try
WWL comm here and check the connection
to the server this is how you can use
the ping command
moving on to FTP it stands for File
Transfer Protocol and it is the most
preferred protocol for data transfer
amongst computers you can use FTP for
logging and establishing a connection
with a remote host uploading and
downloading files navigating through
directories and browsing contents of the
directories the syntax to establish an
FTP connection with the remote host s
FTP space IP address or the host name
let us check this on the terminal when
you have entered the command it will ask
you for authentication wire username and
password so let us go ahead and enter
the username and then the password once
connection is established and you are
logged in you may use these commands to
perform different actions so let us run
some of these commands on terminal so if
you want to display the files in the
current directory of the remote computer
you need to type in the dir command if
you get an error while running commands
then you can turn on the passive mode
this mode ignores firewalls and data
port errors so let us go ahead and run
the dir command again with the help of
the put command we will upload a file
with the name local file press enter and
the file will be uploaded on the remote
computer now if you want to check the
presence of this file we can again run
the dir command and you will be able to
see the local file on the remote
computer now let us go ahead and
download a file from the remote computer
here we have a file which we would like
to download the command to download a
file from the remote computer is get
space the file name which is remote file
in our case so let us go ahead and run
this command FTP says that the file was
successfully transferred the quit
command would log us out from FTP
this is how you can use FTP for data
transfer amongst computers the next
utility is telnet it helps connect to a
remote Linux computer then programs
remotely and conduct administration this
utility is similar to the remote desktop
feature found on Windows machine the
syntax for this utility is telnet space
IP address or hostname for demonstration
purpose here we have connected to our
own computer of the local host using
telnet once you have put in your
username and password and you are
authenticated you can execute commands
just like you have been doing so far
using the terminal the only difference
is if you are connected to a remote host
the commands will be executed on the
remote machine and not your local
computer
tylette has become obsolete over the
years as more secure protocols to
connect to remote computers have come up
this is why we move on to the next
utility which is SSH it stands for
secure shell and is used to securely
connect to a remote computer compared to
telnet SSH is secure we're inclined
server connection is authenticated using
a digital certificate and passwords are
encrypted
hence it is widely used by system
administrators to control remote Linux
servers the syntax to login to SSH is
SSH space username at IP address by the
hostname that is why it on terminal
so let us login to SSH using the command
SSH space username add IP address or
hostname once you enter the login
command the terminal would ask you for
the password
upon entering the password ssh would be
logged in now you can go ahead and run
commands on it like the way you do on
terminal the difference is that the
command would be executed on the remote
computer so let us try one more command
dir this would list all the directory
contents in the home directory so let us
find out what is the present working
directory so right now we are working on
home
guru nine-nine similarly on typing and
exit he would be logged out of SSH let
us go through the key points of this
tutorial
communication between Linux or UNIX and
other different computers networks and
remote users is possible the ping
command checks whether the connection
with a host name or the IP address is
working or not run ping IP address or
hostname on the terminal
FTP is preferred protocol for sending
and receiving large files you can
establish an FTP connection with the
remote host and then use commands for
uploading downloading files checking
file and browsing them telnet utility
helps you to connect to a remote Linux
computer and work on it SSH is a
replacement for telnet and it is used by
system administrators to control remote
Linux servers thank you for watching
this tutorial I would see you in the
next one