added to of alias, using yq to format, very similar to jq. also install yq
This commit is contained in:
parent
7cd3136ab9
commit
4e7d52413f
2 changed files with 4 additions and 10 deletions
2
aliases
2
aliases
|
|
@ -36,7 +36,7 @@ alias li="exa -lh"
|
|||
alias ll="exa -liah"
|
||||
alias {lsdir,lsd}="ls -t -1" # list only the directories
|
||||
alias lshw="doas lshw -short" # list hardware
|
||||
alias of="onefetch -o yaml"
|
||||
alias of="onefetch -o yaml | yq -C"
|
||||
alias mkdir='mkdir -pv'
|
||||
alias {ex,esc}="exit"
|
||||
alias {his,hist}="history"
|
||||
|
|
|
|||
12
updates.txt
12
updates.txt
|
|
@ -6,16 +6,10 @@ awk '!($2="")'
|
|||
|
||||
add notation about tr (translate command):
|
||||
replace every newline with a single space: tr '\n' ' '
|
||||
|
||||
add notation about using find to list only files in current directory and NOT subdirectory:
|
||||
find $dir -maxdepth 1 -type f
|
||||
|
||||
Install exa (colorized version of ls)
|
||||
doas pacman -S exa
|
||||
Install yq (similar to jq, but for yaml)
|
||||
|
||||
Install speed-test
|
||||
|
||||
paru speed-test (choose 2 option, not .git version)
|
||||
|
||||
Go to https://learning.lpi.org/en/learning-materials/101-500/ and download pdf
|
||||
|
||||
Go to https://learning.lpi.org/en/learning-materials/102-500/ and download pdf
|
||||
doas pacman -S yq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue