DEV Community

Cover image for 50 basic Linux commands

50 basic Linux commands

Ritik Pal on July 09, 2024

𝐄𝐬𝐬𝐞𝐧𝐭𝐢𝐚𝐥 𝟓𝟎 𝐁𝐚𝐬𝐢𝐜 𝐋𝐢𝐧𝐮𝐱 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬: 𝐌𝐚𝐬𝐭𝐞𝐫 𝐘𝐨𝐮𝐫 𝐂𝐨𝐦𝐦𝐚𝐧𝐝 𝐋𝐢𝐧𝐞 𝐒𝐤𝐢𝐥𝐥𝐬 🐧 𝐩𝐰𝐝 - Print working directory. 📂 𝐥𝐬 - List directory contents. 📋 𝐜𝐝 - Change ...
Collapse
 
tungbq profile image
Tung Leo • Edited

That's a great summary. Adding htop as it provides us the very nice UI and metrics of our process usage
Image description

Collapse
 
luna_dev profile image
Luna

Some ppl might have to install that first, there is also top which is usually installed by default :)

Collapse
 
oktay454 profile image
Kemal Oktay

A humble suggestion; Instead of "sudo su", "sudo -i" would be more correct.

Collapse
 
just_ritik profile image
Ritik Pal

Thanks for the comments

Collapse
 
coder0p_ profile image
vasu sharma

for detailed process you can use glances also but you have to install first

Collapse
 
just_ritik profile image
Ritik Pal

can you please guide me for that ?

Collapse
 
kushgupta profile image
Kush Gupta • Edited

helpful!! :)

Collapse
 
just_ritik profile image
Ritik Pal

thanks for your comment

Collapse
 
offpepe profile image
Alan Albuquerque Ferreira Lopes • Edited

A little curiosity: the touch command is not primarily intended to create a new file; it is used to change the access and/or modification date and time of an existing file. However, if you use touch on a non-existent file, it will create a new file. To explicitly create a new file, you can use:

>>filename.ext
Enter fullscreen mode Exit fullscreen mode

nice article!

Collapse
 
zabetta profile image
alessandro cerea

very helpful

Collapse
 
yared_wonber_15199bbf1f98 profile image
Yared Wonber

Thanks a lot!!

Collapse
 
shwetha_patil_000e5f58db4 profile image
Shwetha Patil

If there is example for each command it would be even more helpful

Collapse
 
just_ritik profile image
Ritik Pal

will share each & every Example Later Thanks

Collapse
 
basharjehadi profile image
ABUL BASHAR

Nice resource