Linux Command -Line Warmup !!

  • $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.

--

--

--

Cloud and Devops enthusiast . Learning everyday. Budding Engineer. Helping People to learn about cloud and opensource Devops.Into Programming and Databases.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Reduce Cost and Increase Productivity with Value Added IT Services from buzinessware — {link} -

Setup an Avalanche Node to allow HTTPS

Release Notes — October 3rd, 2018

The Worst Programming Languages I Ever Used

Integrating VictorOps with SignifAI’s Artificial Intelligence and Machine Learning

Flutter custom dark theme with shared preferences and provider package

Squarespace Integration Development in 2022

Understanding Entities and Databases

Hello Mendix — Part 4: Understanding Entities and Databases

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Techno Freak

Techno Freak

Cloud and Devops enthusiast . Learning everyday. Budding Engineer. Helping People to learn about cloud and opensource Devops.Into Programming and Databases.

More from Medium

[OS Process] Linux Capability

Linux: Hard And Soft Links

Groovy On Fedora Linux

Bash Scripting for auto-commit and push GIT