On Linux you have to prefix the command with "sudo" keyword to run it with root privileges. It is similar to getting Administrator rights in Windows. The “root” user on UNIX platforms has full system access, like the “Administrator” user on Windows. Your Windows file system is located at
Here are some basic commands of Linux that are similar to Windows. Bash indicates the Linux command and DOS is it's Windows analoge.
/mnt/c in the Bash shell environment.Here are some basic commands of Linux that are similar to Windows. Bash indicates the Linux command and DOS is it's Windows analoge.
- Change Directory:
cdin Bash,cdorchdirin DOS - List Contents of Directory:
lsin Bash,dirin DOS - Move or Rename a File:
mvin Bash,moveandrenamein DOS - Copy a File:
cpin Bash,copyin DOS - Delete a File:
rmin Bash,delorerasein DOS - Create a Directory:
mkdirin Bash,mkdirin DOS - Use a Text Editor:
viornanoin Bash,editin DOS
- Download Updated Information About Available Packages:
sudo apt update - Install an Application Package:
sudo apt install packagename(Replace “packagename” with the package’s name.) - Uninstall an Application Package:
sudo apt remove packagename(Replace “packagename” with the package’s name.) - Search for Available Packages:
sudo apt search word(Replace “word” with a word you want to search package names and descriptions for.) - Download and Install the Latest Versions of Your Installed Packages:
sudo apt upgrade
This lesson is over now. Godspeed!
Comments
Post a Comment