Difference between revisions of "CheatSheet"
Views
Actions
Namespaces
Variants
Tools
m (small corrections) |
m (Formattierung der keys) |
||
Line 81: | Line 81: | ||
Display a tree of processes {{UserCmd|command=pstree}} | Display a tree of processes {{UserCmd|command=pstree}} | ||
Switch to tty {{key press|Ctrl|Alt| | Switch to tty | ||
* {{key press|Ctrl|Alt|F1}} | |||
* {{key press|Ctrl|Alt|F2}} | |||
* {{key press|Ctrl|Alt|F3}} | |||
* {{key press|Ctrl|Alt|F4}} | |||
* {{key press|Ctrl|Alt|F5}} | |||
* {{key press|Ctrl|Alt|F6}} | |||
Switch to the X session | |||
* {{key press|Ctrl|Alt|F7}} | |||
<span style="color: red; text-decoration: line-through;">starts a daemon {{UserCmd|command=rc.d start [daemon]}} | <span style="color: red; text-decoration: line-through;">starts a daemon {{UserCmd|command=rc.d start [daemon]}} | ||
</span> | </span> |
Revision as of 18:57, 4 February 2022
CheatSheet for Manjaro
The original startet with a thread at https://forum.manjaro.org/t/manjaro-cli-cheat-sheet/101305/3
Locating and Installing Packages
Update mirrorlist with the fastest mirrors
Check if updates are available
Update all installed packages
Search available packages
Install packages
Uninstall packages
Maintenance
Generate cache list
Purge files not accessed in 100 days
Report journal current size
Remove but recent entries by size or time
Check for orphaned packages
Remove all orphans
Remove all packages except the latest 3 versions
AUR
Search for packages
Build the package
Access rights
Execute command as root
Emptie password cache
Edit /etc/sudoers
Change user password
Change owner and group of file
Change file permissions
Set permissions in octal mode: 4(read) 2(write) 1(execute)
Example: 755 read-write-execute for owner and read-execute for group and others
Display files and permissions [of directory]
Files and Directories
Change the working directory
change to parent directory
List directory contents
List also hidden files
Copie file
Copie directory recursively
Move or rename file/directory
Remove directory recursively
Create symbolic link
Mount filesystem
Mount ISO image
Home directory of user
Directory with global configurations
Network
Display network information
List wireless access points
Enable firewall [package Community: ufw]
Allow/deny all incoming traffic
Displays firewall status and rules
Allows/deny incoming traffic on the specified port
Allows/deny incoming traffic from specified IP address
System and Screen
Display kernel version
Display long kernel version
Report file system disk space usage
Display system tasks
Display system information
Display a tree of processes
Switch to tty
- Ctrl+Alt+F1
- Ctrl+Alt+F2
- Ctrl+Alt+F3
- Ctrl+Alt+F4
- Ctrl+Alt+F5
- Ctrl+Alt+F6
Switch to the X session
- Ctrl+Alt+F7
stops a daemon
Shut down the system
Restart the system