-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1777 from NoahGorny/dnf-aliases-fedora
dnf aliases fedora
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# shellcheck shell=bash | ||
cite 'about-alias' | ||
about-alias 'dnf aliases for fedora 22+ distros' | ||
|
||
alias dnfl="dnf list" # List packages | ||
alias dnfli="dnf list installed" # List installed packages | ||
alias dnfgl="dnf grouplist" # List package groups | ||
alias dnfmc="dnf makecache" # Generate metadata cache | ||
alias dnfp="dnf info" # Show package information | ||
alias dnfs="dnf search" # Search package | ||
|
||
alias dnfu="sudo dnf upgrade" # Upgrade package | ||
alias dnfi="sudo dnf install" # Install package | ||
alias dnfri='sudo dnf reinstall' # Reinstall package | ||
alias dnfgi="sudo dnf groupinstall" # Install package group | ||
alias dnfr="sudo dnf remove" # Remove package | ||
alias dnfgr="sudo dnf groupremove" # Remove package group | ||
alias dnfc="sudo dnf clean all" # Clean cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters