Cheatography
https://cheatography.com
linux command line automation scripts
Command Line
|
Launch a program in a terminal without getting any output |
|
Display the command more often used in the shell |
|
Generate a password (default 20 characters) |
|
Print PATH |
|
Create a new ssh key at ~/.ssh/<name>
with permission 700
|
|
Encode pwsh command to base64 |
File Operations
|
Create a directory and jump to it |
|
Copy a file or a folder, and create the filepath if it doesn't exist |
|
Move a file or a folder, and create the filepath if it doesn't exist |
|
Backup directories from dir.csv to cloud directory |
|
Backup all files in cwd |
Devices
|
Mount device with read/write permissions |
|
Unmount every devices in a specific folder recursively |
|
Mount mtp filesystem |
|
Umount mtp filesystem |
|
|
Networking
|
Get DNS IP |
|
Get localhost |
|
Get public IP |
|
List of open ports |
|
Create a new ssh key at ~/.ssh/<name>
with permission 700
|
|
Use tinyurl to shorten the URL |
|
Scrape a single webpage with all assets |
Git
|
Create a new ssh key at ~/.ssh/<name>
with permission 700
|
|
Wrapper for git clone, gcl
to clone from clipboard |
|
Create new git repository |
|
Calculate repo size |
Youtube
|
Download a video from Youtube in mp4 format |
|
Download audio from Youtube video |
|
Download a playlist from Youtube |
|
Download a playlist from Youtube only audio |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets