Tuesday, December 11, 2018

Use a different ssh key for a given remote hostsshcopyidssh into a remote system without

Use a different ssh key for a given remote hostsshcopyidssh into a remote system without

Use a Different SSH Key for a given Remote Host

ssh-copy-id

SSH into a Remote System without a Password

ssh-keygen

SSH into a Remote System without a Password

sshfs

Mount a Directory from a Remote Server on Your Local Host via SSH

su

Run the Last Command as Root

sudo

Append Text to a File Using Sudo

Change the Case of a String

Display a Block of Text between Two Strings

Download a Webpage, HTTP Data, or Use a Web API from the Command Line

Empty a File That Is Being Written To

Execute a Command at a given Time

Find out Which Programs Are Listening on Which Ports

Find the Files That Are Using the Most Disk Space

Find Who Is Using the Most Disk Space

Kill All Processes for a given User or Program

Print a List of Files That Contain a given String

Quickly Make a Backup of a File

Repeat a Command at Regular Intervals and Watch Its Changing Output

Repeat the Last Command That Started with a given String

Run the Last Command as Root

Save a Copy of Your Command Line Session

Save the Output of a Command as an Image

Serve Files in the Current Directory via a Web Interface

Share Your Screen Session with Another User

Store Command Line Output as a Variable to Use Later

Use a for Loop at the Command Line