Linux Command -Line Warmup !!
2 min readJun 4, 2022
Intro to the world of commands
Lets begin.
- $cal apr 2022 : Displays the calendar for the month of april.
- $ls /bin bash : Lists the contents of the Bin directory.
- $df -h: How much space is used on partition of your hard disk.
- $lsblk : lists information about all available or the specified block devices.
- $echo <text >:command writes its arguments to standard output.
- $sudo:command executes only that command with root/ superuser privileges.
- $ cp <flag> {filename} /pathname : A copy of the file/directory copied, still remains in the working directory.
- $cat <flag> {filename} : All-rounder read,modify,concatinate files.
- $top -d1 : Watch the processes running on your computer (type “q” to quit)
- $last -1 $USER : See how long you’ve been logged in (Session )
- $ip addr show eth0 :Display information about your computer’s IP address.
- $clear (Everybody’s favorite command):clear the window.
- $man top -The man command displays an online manual page, or manpage, for a given program. (The best guide for Linux ).
- $mkdir : makes a directory.
- $rm * : Danger option to choose removes all the files in the system.
- $rmdir : remove a directory
- $ls : listing of files.
- $ls -a : listing of hidden files.
- $cd /usr/local/bin: More technically, this command changes your shell’s current working directory to be /usr/local/bin.
- $pwd: Gives the present working directory.
- $who : Lets you see who has logged into the computer.
- $ssh <ip> : Remote command-line execution, but any network service can be secured with SSH.
- $ping : this command is used to ping to a particular website.USed to check network connectivity between two nodes.
- $ifconfig :Linux ifconfig stands for interface configurator. It is one of the most basic commands used in network inspection.
- $traceroute <destination> :Linux traceroute is one of the most useful commands in networking. It is used to troubleshoot the network. It detects the delay and determines the pathway to your target.
- $netstat : Gives you the statistics of your network.
- $dig : Linux dig command stands for Domain Information Groper. This command is used in DNS lookup to query the DNS name server. It is also used to troubleshoot DNS related issues.
- $nslookup :Linux nslookup is also a command used for DNS related queries. It is the older version of dig.
Do check out the commands and Follow back for more such content . Happy exploring .