Useful Commands: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary Tag: Reverted |
||
Line 10: | Line 10: | ||
Get/Set data from clipboard: | Get/Set data from clipboard: | ||
getclip () { | getclip () { | ||
xclip -selection c -o | xclip -selection c -o #use it like this: echo $(getclip) | ||
} | } | ||
setclip () { | setclip () { | ||
xclip -selection c | xclip -selection c #use it like this: echo "blahblahblah | setclip" | ||
} | } | ||
Revision as of 02:51, 11 December 2024
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 #use it like this: echo $(getclip) } setclip () { xclip -selection c #use it like this: echo "blahblahblah | setclip" }
Additional Resources:
https://github.com/OpenRC/openrc/blob/master/service-script-guide.md