Useful Commands: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 11: Line 11:
  getclip () {
  getclip () {
         xclip -selection c -o
         xclip -selection c -o
        #use it like this: ls -a | grep $(getclip)
  }
  }
  setclip () {
  setclip () {
         xclip -selection c
         xclip -selection c
        #use it like this: echo "blahblahblah | setclip"
  }
  }



Latest revision as of 02:53, 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
}
setclip () {
       xclip -selection c
}


Additional Resources:

Arachnoid.com: How to use SSH

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