Network Commands

ifconfig ifconfig (interface configurator)ifconfig enp0s3 downifconfig enp0s3 upAdd IP addressifconfig enp0s3 enp0s3:1 netmask up Netstat display the status of TCP and UDPnetstat -tulpndisplay the status of TCP and UDP and current connectionsnetstat -tulpna Route View, add and delete IP routing table in Linux. route -n route add -net netmask dev […]


Tar x – instructs tar to extract the files from the zipped filev – means verbose, or to list out the files it’s extractingz – instructs tar to decompress the files – without this, you’d have a folder full of compressed filesf – tells tar the filename you want it to work onc – creates […]


Rsync rsync -r dir1/ dir2 rsync -a dir1/ dir2 The -a option stands for “archive” and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions. It is more commonly used than -r and is usually what you want to use. The -z stands for compression option. The -P flag combines the […]