Linux Commands: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 16: Line 16:
  }
  }


Create an ssl Key and Cert pair
Create an SSL Key and Cert pair
  openssl req -new -x509 -nodes -out server.crt -keyout server.key
  openssl req -new -x509 -nodes -out server.crt -keyout server.key



Revision as of 23:45, 14 August 2025

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
}

Create an SSL Key and Cert pair

openssl req -new -x509 -nodes -out server.crt -keyout server.key

Additional Resources:

Arachnoid.com: How to use SSH

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