Difference between revisions of "CheatSheet"
Views
Actions
Namespaces
Variants
Tools
m (string duplication) |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
=== Locating and Installing Packages === <!--T:3--> | === Locating and Installing Packages === <!--T:3--> | ||
==== Using Pamac CLI ==== | |||
Install packages {{UserCmd|command=pamac install [PackageName]}} | Install packages {{UserCmd|command=pamac install [PackageName]}} | ||
Uninstall packages {{UserCmd|command=pamac remove [PackageName]}} | Uninstall packages {{UserCmd|command=pamac remove [PackageName]}} | ||
Line 16: | Line 15: | ||
Update installed packages {{UserCmd|command=pamac upgrade}} | Update installed packages {{UserCmd|command=pamac upgrade}} | ||
Check for updates {{UserCmd|command=pamac checkupdates}} | Check for updates {{UserCmd|command=pamac checkupdates}} | ||
==== Using native pacman ==== <!--T:26--> | |||
Install packages {{UserCmd|command=sudo pacman -Syu [PackageName]}} | |||
Uninstall packages {{UserCmd|command=sudo pacman -Rns [PackageName]}} | |||
Search for a package {{UserCmd|command=pacman -Ss [PackageName]}} | |||
Update installed packages {{UserCmd|command=sudo pacman -Syu}} | |||
Check for updates {{UserCmd|command=sudo pacman -Syu}} | |||
=== Maintenance === <!--T:5--> | === Maintenance === <!--T:5--> |
Latest revision as of 07:42, 11 December 2023
Commands CheatSheet for Manjaro
Locating and Installing Packages
Using Pamac CLI
Install packages
Uninstall packages
Search for a package
Update installed packages
Check for updates
Using native pacman
Install packages
Uninstall packages
Search for a package
Update installed packages
Check for updates
Maintenance
Generates a random mirrorlist for the users and sort them by their current access time.
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 package
Build the package
Access rights
Execute command as root
Empty password cache
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
Copy file
Copy 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
Start a unit
Stop a unit
Check status of a unit
Enable a unit
Disable a unit
Restart a unit
Shut down the system
Restart the system