-
ifconfig - Configure a network interface
Ifconfig is used to configure the network interfaces. View, edit and modify the configured IP address, DNS, gateway and Netmask.
-
ip - show / manipulate routing, devices, policy routing and tunnels
-
traceroute - print the route packets trace to network host
Tracks the route packets taken from an IP network on their way to a given host. It utilizes the IP protocol's time to live (TTL) field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to the host.
-
ping - send ICMP ECHO_REQUEST to network hosts
Check whether the particular ipaddress/domain is available or not.
-
netstat - Print network connections, routing tables and interface statistics
Netstat prints information about the Linux networking subsystem.
-
route - show/manipulate the IP routing table
Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured with the ifconfig program.
-
nslookup - query Internet name servers interactively
Nslookup is a program to query Internet domain name servers.
Nslookup has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. Non-interactive mode is used to print just the name and requested information for a host or domain.
-
tcpdump - Dump traffic on a network
Prints out a description of the contents of packets on a network interface that match the boolean expression; the description is preceded by a time stamp, printed, by default, as hours, minutes, seconds, and fractions of a second since midnight.
-
-
-
-
Tuesday, 20 July 2021
Top 10 Linux Network Monitoring Commands
Disk Usage Linux Commands
-
free - Display amount of free and used memory in the system
Free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel.
-
du - Estimate file space usage
Amount of disk space used by the specified files or folders
-
df - Report file system disk space usage
Displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown.
Top 10 Basic Linux Commands For Beginners
Let's learn some basic linux commands
-
ls - List all the folder contents
Example: ls -la List all hidden files and directories
-
pwd - Print name of current/working directory
Know your working directory location or path
-
cd - Enter into or exit from the directory
Syntax: cd destination_path
Example: cd /home/user Enter into a home user location
-
mkdir - Create a directory
Syntax: mkdir directory_name
Example: mkdir test Create a new directory named test
-
rm - Remove a file or directory
Syntax: rm filename
Example: rm myfile Remove a file called myfile
Example: rm -r myfolder Remove a folder called myfolder
-
mv - Move/Rename a file or folder
Syntax: mv source_filename destination_filename
Example: mv file1 file2 Move or rename a file1 to file2
-
cp - Copy files and directories
Syntax: cp source_filename destination_filename
Example: cp file1 file2 Copy all contents from a file1 to file2
-
cat - Display file contents
Syntax: cat filename
Example: cat file1 Show all the contents inside the file1 in standared output device(usually your monitor).
-
su - Switch user account
Syntax: su - username
Example: su - linuxer logged into linuxer user account.
-
touch - Create an empty file with the specified name.
Syntax: touch filename
Example: touch file1 Create an empty file called file1.