mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
Update README.md
This commit is contained in:
parent
7ae9dbbce9
commit
723ff2314a
@ -2270,11 +2270,10 @@ sudo dpkg --purge <package_name>
|
||||
##### Create a ssh tunnel
|
||||
```bash
|
||||
ssh -f -L 9000:targetservername:8088 root@192.168.14.72 -N
|
||||
```
|
||||
#-f: run in background; -L: Listen; -N: do nothing
|
||||
#the 9000 of your computer is now connected to the 8088 port of the targetservername through 192.168.14.72
|
||||
#so that you can see the content of targetservername:8088 by entering localhost:9000 from your browser.
|
||||
|
||||
```
|
||||
##### Count the number of Segate hard disks
|
||||
```bash
|
||||
lsscsi|grep SEAGATE|wc -l
|
||||
|
Loading…
Reference in New Issue
Block a user