Thursday, 9 September 2021

Most Frequently Used UNIX / Linux Commands

Subscribe to " FACEITNET " YouTube channel for more interesting videos 

Ubuntu one of the most popular operating systems with an extensive user-base around the world, Below, you will find the 40 best Ubuntu terminal commands our experts have handpicked in an aim to skyrocket your Ubuntu system experience
ls presents to you the contents of a particular directory – both files and directories

vim :Vim is a text editor. The most simple commands allow you to open and close documents as well as saving them

Install Vim on Ubuntu/Debian:

If you're using Ubuntu or Debian use apt-get to install Vim:

sudo apt-get install vim

Install Vim on CentOS/Fedora:

If you're using CentOS or Fedora, use yum to install Vim:

sudo yum install vim

pwd Print working directory command in Linux

mkdir create directories from within the terminal. Make Directory)



ifconfig The ifconfig command will give you the list of all the network interfaces along with the IP addresses, MAC addresses and other information about the interface.

if the tool ifconfig is not installed then you can install using the below commons 


ifconfig 

sudo: Super User ( sudo apt-get update ) | Command to escalate privileges in Linux



less The less command is used when the output printed by any command is larger than the screen space and needs scrolling. The less command allows use to break down the output and scroll through it with the use of the enter or space keys.


wget – Direct download files from the internet, wget command is one of the handiest command-line utilities available



cd – Linux command to navigate through directories




tar – Command to extract and compress files in Linux

To compress 


To uncompress
 


grep (global regular expression print.) – Search for a string within an output

grep 'two' /~Download/sample1.doc



ps – Display active process


ssh – Secure Shell command in Linux


df – Display disk filesystem information


rm – Delete files or directories


mv – Move or rename files in Linux

cp – Similar usage as mv but for copying files in Linux


cat – Display file contents on the terminal


clear – Clear the terminal display





chmod – Command to change file permissions


wget – Direct download files from the internet


passwd – Create or update passwords for existing users

No comments:

Http vs Https