Command-line Knowledge Base
Commands
Brace/Parameter Expansion
Commands to get private IP address
Create file using current date
Copy latest iso to USB key
Check to see if data storage device is solid state or electro-mechanical
Symbolic link between two folders with different names
Use
Use
Use
Use
Copy multiple files to a folder in one command
Use
Scan network for IP address
Use
Use
Get storage device model info
Use
Use
Use
Use
Use
Single line
Show
Use
Listen to white noise/pink noise using
NULL
Commands to get private IP address
Create file using current date
Copy latest iso to USB key
Check to see if data storage device is solid state or electro-mechanical
Symbolic link between two folders with different names
Use
ImageMagick
to resize imagesUse
ImageMagick
to get image dimensionsUse
ImageMagick
's Mogrify to convert webp imagesUse
ImageMagick
to get camera infoCopy multiple files to a folder in one command
Use
youtube-dl
to extract audio in mp3 format from Youtube videosScan network for IP address
Use
ffmpeg
to extract audio from *.mkv
and convert to mp3Use
ffmpeg
to trim videoGet storage device model info
Use
find
to search for folders/files based on modification date/timeUse
find
to show files modified on a specific dateUse
netstat
to print active connectionsUse
findmnt
to display free and used space of mounted filesystemsUse
hostname
to get IP addressSingle line
conditional statement
Show
Apache
error messages just for my machineUse
fmt
to reformat text sent to standard output from a fileListen to white noise/pink noise using
SoX
run0
replacement for sudo
NULL