Day to Day Commands

Part 3

·

2 min read

vmstat

used to obtain information about memory, system processes, paging, interrupts, block I/O, disk, and CPU scheduling.

htop

a process viewer and manager that is interactive

Note:- sudo apt install htop

iotop

is an interactive I/O viewer. Get a snapshot of storage r/w activity.

Note :- sudo iotop

netstat

used to show network statistics

ss

the ss command is a simpler and faster version of the now obsolete netstat command.

provide extensive details on the sockets that provide communications between systems

atop

a tool for monitoring system resources in Linux

It displays tons of information related to the amount of load on the system’s resources at the process level. There can be indefinite advantages to the user if this utility is mastered.

ssh

secure protocol used as the primary means of connecting to Linux servers remotely

touch

used to create, update a computer file or directory's access and modification dates.

apropos

searches manual page names and descriptions for a user-supplied keyword

pwd

displays the current directory path

cp

copy files and directories.

mv

move files or directories.

rm

deletes files and directories

mkdir

create new directories.

rsync

remote file transfer and synchronization.

tar

It is an archive utility.

gzip

use for compression and decompression of files

b2zip

a compression utility comparable to gzip. It employs a distinct compression algorithm.

zip

used for file packaging and compression (archiving)

locate

Search for files.

ps

allows you to list the status of processes running on your system easily.

cron

execute scheduled tasks.

mtr

is a network diagnostic tool, a combination of ping and traceroute commands.

nslookup

interactively query Internet name servers (NS)

host

used for DNS (Domain Name System) lookup operations.

dig

DNS lookup tool

nmcli

sused to display network device status, create, edit, activate/deactivate, and delete network connections.

ping

sends an ICMP ECHO REQUEST to network hosts.

traceroute

examine the path packets follow to reach a specific host.

wget

download files through HTTP, HTTPS, FTP, and FTPS.

curl

data transport via several network protocols. (Can handle more protocols than wget).

dd

used to convert and copy files

fdisk

Modify the disk partition table.