Linux CLI Cheat Sheet
Here are my notes about collection of Linux CLI Cheat Sheet.
To display the files in the current directory, you can use ls
. If you want to filter for a specific file by its name, you can append | grep -i "filename*"
to your command.
This is the full command:
ls | grep -i "filename"
rsync
is a command-line tool designed for file synchronization, operating like cp
but with additional features.
rsync -ahP <source> <destination>
Downloading file from the internet:
curl <link> > <file>
wget <link>
cat
less
touch newFile
find $HOME -type d -name "docker*"