Last Updated on June 1, 2021 by avracham
List of most used Linux commands
Here we go again, With this Article “List of most used Linux commands”.
This article would summarize and explain the most used Linux commands, remember that some of these commands would need sudo privileges, all you need to do is to add sudo at the beginning.
How to update Linux packages
How to upgrade Linux packages
Print current directory
Get a list of the items in the current directory
cp cp /source /destination/ cp example.mp4 /home/ //copy multiple files cp file.avi file.doc sign.mp3 /home/
mv mv source destination mv file.doc myfile.doc mv file.doc /home
Delete/Remove file/directory command
rm rm filename.txt //delete empty folder rm foldername //delete folder wih files rm -r foldername //Delete folder with protected files rm -rf foldername
Change permission “chmod”
chmod options permissions filename/foldername chmod -R 755 /var/www/html/
Change ownership of files and directories
chown [new_owner] [file] chown admin file.txt
Add new user
Articles that could be useful for you
Computer security Engineer , Website Developer , Ruby on Rails Architect, BSD in Computer and Control Engineering.