Tag: #ssh

SSH ::: Viewing Connected Sessions On Ubuntu

Posted on July 4, 2021July 4, 2021 by J OWL Farand

1. The who Command

$ who

2. The w Command

$ w

3. The last Command

$ last | grep 'still logged in'

4. The netstat Command

$ netstat -atnp | grep 'ESTABLISH.*sshd'

5. The ss Command

$ ps axfj | grep sshd

6. The ps Command

$ ps axfj | grep sshd
Posted in #downloadTHISweb, download this webTagged #commandline, #linux, #ssh, #ubuntuLeave a Comment on SSH ::: Viewing Connected Sessions On Ubuntu

How to Zip and Unzip via SSH

Posted on March 6, 2021March 7, 2021 by J OWL Farand
  1. zip archive-name.zip your-file.php your-file.php your-file.php

    In order to compress a directory, use this syntax:

    zip -r archive-name.zip /directory-name
  2. This command is used for .zip file decompression:

    unzip archive-name.zip

Source

Posted in #downloadTHISweb, download this webTagged #commandline, #linux, #ssh, #zip, commandline, linux, ssh, zipLeave a Comment on How to Zip and Unzip via SSH
Proudly powered by WordPress | Theme: ghostnation by J. OWL Farand.