Useful Commands

From Lucca's Wiki
Jump to navigationJump to search

Delete all docker images

docker rmi -f $(docker images -a -q)

Create a file and set its permissions

install -m 755 /dev/null filename.txt

Record audio files

Record Audio Files in the Command Line

Get/Set data from clipboard:

getclip () {
       xclip -selection c -o
}
setclip () {
       xclip -selection c
}


Additional Resources:

Arachnoid.com: How to use SSH

https://github.com/OpenRC/openrc/blob/master/service-script-guide.md