0% found this document useful (0 votes)
3 views1 page

Linux Command Guide

Uploaded by

kkatorix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Linux Command Guide

Uploaded by

kkatorix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Essential Linux Commands for Beginners

-------------------------------------
Welcome to Linux! Here’s a quick guide to essential terminal commands for
navigating and managing your system.

1. Navigation
- pwd: Print current directory (e.g., /home/user).
- ls: List files (add -l for details, -a for hidden files).
- cd [directory]: Change directory (e.g., cd Documents).

2. File Management
- touch [filename]: Create an empty file (e.g., touch note.txt).
- cp [source] [destination]: Copy files (e.g., cp file.txt backup/).
- mv [source] [destination]: Move/rename files (e.g., mv oldname.txt newname.txt).
- rm [filename]: Delete files (add -r for directories).

3. System Info
- df -h: Show disk usage in human-readable format.
- top: Display active processes (press q to quit).
- whoami: Show current user.

4. Permissions
- chmod [permissions] [file]: Change file permissions (e.g., chmod 755 script.sh).
- chown [user] [file]: Change file owner (e.g., chown user file.txt).

Pro Tip: Use man [command] (e.g., man ls) for detailed help. Practice in a safe
directory!
-------------------------------------
Happy Linux-ing!

You might also like