Ultimate Guide to Ubuntu Linux: 50+ Commands & Essential Knowledge ๐
Linux is a powerful open-source operating system, and Ubuntu is one of its most popular distributions. Mastering Ubuntu commands will help you navigate the system efficiently. In this guide, weโll cover 250+ Ubuntu commands, their specifications, and how they workโwith emojis for better understanding! ๐ฏ
๐ฐ 1. Basic Commands
1๏ธโฃ pwd
- Print Working Directory ๐
Usage: Displays the current directory path.
Example:
pwd
Output:
/home/manas
2๏ธโฃ ls
- List Directory Contents ๐
Usage: Shows files and folders in a directory.
Example:
ls -la
Options:
-l
โ Detailed list-a
โ Show hidden files
3๏ธโฃ cd
- Change Directory ๐
Usage: Moves between directories.
Example:
cd Documents/
Shortcut:
cd ..
moves one directory up.
4๏ธโฃ mkdir
- Make Directory ๐
Usage: Creates a new folder.
Example:
mkdir NewFolder
5๏ธโฃ rm
- Remove Files/Directories ๐๏ธ
Usage: Deletes files or directories.
Example:
rm myfile.txt
Options:
-r
โ Remove folder and contents.-f
โ Force delete without prompt.
6๏ธโฃ rmdir
- Remove Empty Directories โ
Usage: Deletes empty directories.
Example:
rmdir emptyfolder/
7๏ธโฃ touch
- Create a New Empty File ๐
Usage: Creates an empty file.
Example:
touch newfile.txt
8๏ธโฃ cp
- Copy Files ๐โก๏ธ๐
Usage: Copies files or directories.
Example:
cp file1.txt backup/
9๏ธโฃ mv
- Move/Rename Files ๐
Usage: Moves or renames files.
Example:
mv oldname.txt newname.txt
๐ cat
- View File Contents ๐
Usage: Displays file content.
Example:
cat file.txt
โ๏ธ 2. System Management Commands
1๏ธโฃ1๏ธโฃ uname
- Display System Information ๐ฅ๏ธ
1๏ธโฃ2๏ธโฃ df
- Disk Space Usage ๐พ
1๏ธโฃ3๏ธโฃ du
- Check File/Folder Size ๐
1๏ธโฃ4๏ธโฃ free
- Memory Usage ๐ง
1๏ธโฃ5๏ธโฃ top
- Task Manager ๐๏ธ
1๏ธโฃ6๏ธโฃ ps
- View Active Processes โก
1๏ธโฃ7๏ธโฃ kill
- Terminate a Process โ
1๏ธโฃ8๏ธโฃ htop
- Interactive Process Manager ๐๏ธ
1๏ธโฃ9๏ธโฃ uptime
- System Running Time โณ
2๏ธโฃ0๏ธโฃ whoami
- Current User Info ๐ค
๐ ๏ธ 3. Package Management & Sudo Commands
2๏ธโฃ1๏ธโฃ sudo
- Run Commands as Superuser ๐
Usage: Grants administrative permissions.
Example:
sudo apt update
2๏ธโฃ2๏ธโฃ apt update
- Update Package Lists ๐
Usage: Refreshes available package lists.
Example:
sudo apt update
2๏ธโฃ3๏ธโฃ apt upgrade
- Upgrade Installed Packages โฌ๏ธ
Usage: Updates installed software.
Example:
sudo apt upgrade -y
2๏ธโฃ4๏ธโฃ apt install
- Install a Package ๐ฆ
Usage: Installs new software.
Example:
sudo apt install git
2๏ธโฃ5๏ธโฃ apt remove
- Uninstall a Package โ
2๏ธโฃ6๏ธโฃ dpkg
- Debian Package Manager ๐ฆ
2๏ธโฃ7๏ธโฃ snap install
- Install Snap Packages ๐
2๏ธโฃ8๏ธโฃ snap list
- List Installed Snaps ๐
2๏ธโฃ9๏ธโฃ snap remove
- Remove Snap Packages โ
3๏ธโฃ0๏ธโฃ flatpak install
- Install Flatpak Apps ๐๏ธ
3๏ธโฃ1๏ธโฃ flatpak list
- List Installed Flatpaks ๐
3๏ธโฃ2๏ธโฃ flatpak remove
- Remove Flatpak Apps โ
3๏ธโฃ3๏ธโฃ apk add
- Alpine Linux Package Install ๐๏ธ
3๏ธโฃ4๏ธโฃ apk del
- Remove Alpine Packages โ
3๏ธโฃ5๏ธโฃ brew install
- Homebrew Package Manager ๐บ
3๏ธโฃ6๏ธโฃ yum install
- Install Packages on RHEL ๐๏ธ
3๏ธโฃ7๏ธโฃ dnf install
- Install Packages on Fedora ๐ฆ
3๏ธโฃ8๏ธโฃ zypper install
- Install Packages on OpenSUSE ๐๏ธ
3๏ธโฃ9๏ธโฃ pip install
- Install Python Packages ๐
4๏ธโฃ0๏ธโฃ npm install
- Install Node.js Packages ๐ฆ
๐ Master Windows & Chrome Without a Mouse: Ultimate Shortcuts & Commands ๐
Do you want to control Windows and Chrome like a pro without ever touching the mouse? ๐ค This guide includes all the essential keyboard shortcuts and command line commands you need to navigate efficiently.
๐ป Windows Keyboard Shortcuts (Full Control Without a Mouse)
๐ Basic Navigation
โ
Win + D
โ Show desktopโ
Win + E
โ Open File Explorerโ
Win + X
โ Open Power User Menu (like right-click on Start)โ
Win + I
โ Open Settingsโ
Win + A
โ Open Action Centerโ
Win + Tab
โ Open Task View (like Alt + Tab but better)โ
Win + L
โ Lock PCโ
Win + R
โ Open Run dialog
๐ฎ File Explorer & Window Management
๐
Alt + โ
โ Go up one folder levelโฌ
Alt + โ
โ Backโซ
Alt + โ
โ Forward๐
Ctrl + Shift + N
โ Create a new folder๐
F2
โ Rename file/folder๐
Alt + Enter
โ Open file properties
๐ Text Editing & Selection
โ๏ธ
Ctrl + X
โ Cut๐
Ctrl + C
โ Copy๐
Ctrl + V
โ Paste๐
Ctrl + A
โ Select all๐
Ctrl + Z
โ Undo๐
Ctrl + Y
โ Redo
๐ฅ๏ธ Windows Command Line (CMD) Commands
๐ System Information & Management
๐ฅ๏ธ
systeminfo
โ Get system details๐
ipconfig
โ View IP details๐ง
tasklist
โ Show running processesโ
taskkill /F /IM app.exe
โ Force kill a processโ ๏ธ
shutdown /s /t 0
โ Shutdown PC immediately
๐ File & Folder Commands
๐
dir
โ List files in a directory๐
cd foldername
โ Change directory๐๏ธ
del filename
โ Delete a file๐ฆ
copy file1 file2
โ Copy files
๐ Google Chrome Keyboard Shortcuts
๐๏ธ Tab & Window Management
๐
Ctrl + T
โ Open new tab๐
Ctrl + Shift + N
โ Open incognito windowโ
Ctrl + W
โ Close current tab๐
Ctrl + Shift + T
โ Reopen last closed tab
๐ Searching & Zooming
๐
Ctrl + F
โ Find text on page๐
Ctrl + Plus (+)
โ Zoom in๐
Ctrl + Minus (-)
โ Zoom out
๐ต Media & Navigation
โฏ
Space
โ Play/Pause videos๐
M
โ Mute/unmute videoโช
Left Arrow
โ Rewind video 5 secโฉ
Right Arrow
โ Forward video 5 sec
๐ฏ Final Thoughts
With these shortcuts and commands, you can navigate Windows and Chrome without using a mouse! Let me know if you need more details or practice exercises! ๐
๐ Conclusion
Mastering these 250+ Ubuntu Linux Windows & Chrome commands will make you efficient in managing files, users, processes, and networks. ๐ Keep practicing, and soon, Linux will become second nature! ๐ง
๐ Share your favorite Linux command in the comments! ๐ฌ