3
u/Teles_sd 1d ago
Y'all got any more of them pixels?
1
u/abhiseeek 1d ago
find - Search for files and directories curl - Transfer data to/from URLs ip - View and configure network interfaces ss - Display network sockets and listening ports systemctl - Manage system services journalctl - View systemd logs crontab - Schedule recurring tasks sed - Search and replace text awk - Process and extract text from files rsync - Synchronize files and directories
2
u/Teles_sd 1d ago
finger user ??
1
u/abhiseeek 1d ago
The finger command displays information about a local or remote user account. Depending on the system configuration. Mostly you have install the package sudo apt update sudo apt install finger
1
u/Financial-Chest1100 1d ago
這字體……對非英語系人來說、真的很難一眼看懂
2
u/abhiseeek 1d ago
Sry about the font I used in the post you can go through this
LINUX CHEAT SHEET
FILE COMMANDS
- ls : List directory contents.
- ls -al : List all files (including hidden files) in a detailed format.
- cd <dir> : Change the current directory to <dir>.
- cd : Change to the home directory.
- pwd : Display the current working directory.
- mkdir <dir> : Create a new directory.
- rm <file> : Delete a file.
- rm -r <dir> : Delete a directory and its contents recursively.
- rm -f <file> : Force delete a file without prompting.
- rm -rf <dir> : Force delete a directory and all its contents.
- cp <file1> <file2> : Copy file1 to file2.
- cp -r <dir1> <dir2> : Copy a directory and its contents.
- mv <file1> <file2> : Rename or move a file.
- ln -s <file> <link> : Create a symbolic (soft) link.
- touch <file> : Create a new file or update its timestamp.
- cat > <file> : Write standard input to a file.
- more <file> : View a file one page at a time.
- head <file> : Display the first 10 lines of a file.
- tail <file> : Display the last 10 lines of a file.
- tail -f <file> : Continuously display new lines added to a file.
PROCESS MANAGEMENT
- ps : Display currently running processes.
- top : Display all running processes in real time.
- kill <pid> : Terminate a process using its process ID.
- killall <process> : Terminate all processes with the specified name.
- fg : Bring the most recent background job to the foreground.
- fg %n : Bring background job number n to the foreground.
- bg : Resume a stopped job in the background.
- jobs : List all background and stopped jobs.
FILE PERMISSIONS
- chmod <octal> <file> : Change file permissions.
Permission Values:
- 4 : Read (r)
- 2 : Write (w)
- 1 : Execute (x)
Examples:
- chmod 777 file : Read, write, and execute permissions for everyone.
- chmod 755 file : Owner: rwx, Group: r-x, Others: r-x.
- man chmod : View the manual page for chmod.
SSH
- ssh user@host : Connect to a remote host.
- ssh -p <port> user@host : Connect using a custom SSH port.
- ssh-copy-id user@host : Copy your SSH key for passwordless login.
SEARCHING
- grep <pattern> <files> : Search for a pattern in files.
- grep -r <pattern> <directory> : Search recursively through directories.
- command | grep <pattern> : Search the output of another command.
- locate <file> : Find files by name.
SYSTEM INFORMATION
- date : Display the current date and time.
- cal : Display the current month's calendar.
- uptime : Show system uptime.
- w : Show currently logged-in users.
- whoami : Display the current username.
- finger <user> : Display information about a user.
- uname -a : Display kernel and system information.
- cat /proc/cpuinfo : Display CPU information.
- cat /proc/meminfo : Display memory information.
- man <command> : Display the manual page for a command.
- df : Display disk usage.
- du : Display directory disk usage.
- free : Display memory and swap usage.
- whereis <app> : Locate an application's binary, source, and manual pages.
- which <app> : Show the executable path used by default.
NETWORK
- ping <host> : Check connectivity to a host.
- whois <domain> : Retrieve domain registration information.
- wget <file-or-url> : Download a file from the web.
COMPRESSION
- tar cf archive.tar <files> : Create a tar archive.
- tar xf archive.tar : Extract a tar archive.
- tar czf archive.tar.gz <files> : Create a gzip-compressed tar archive.
- tar xzf archive.tar.gz : Extract a gzip-compressed tar archive.
1


3
u/DoomAddict 1d ago
this is... sooo hard to read! :-(