Command-line Knowledge Base
Quick Links
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
Use
Copy multiple files to a folder in one command
Use
Scan network for IP address
Use
Use
Use
Get storage device model info
Use
Use
Use
Use
Use
Single line
Show
Use
Listen to white noise/pink noise using
Replace spaces in a string with underscores without using
Use
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 infoUse
ImageMagick to create thumbnailsCopy 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 extract audio from mp4 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 statementShow
Apache error messages just for my machineUse
fmt to reformat text sent to standard output from a fileListen to white noise/pink noise using
SoXrun0 replacement for sudoReplace spaces in a string with underscores without using
sed or trUse
mp3splt to trim mp3 fileNULL