This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| ssh -l vagrant -i /home/glasslab/.vagrant.d/insecure_private_key 127.0.0.1 -p 2222 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #from | |
| # https://www.youtube.com/watch?v=LQSMJtckzYI | |
| # simple chat coomunication between 2 machines with netcat | |
| #This works with linux, Win | |
| # to install apt-get install netcat-traditional #buntu | |
| #IP 192.168.33.10 | |
| nc 192.168.33.10 3137 | |
| #IP 192.168.33.11 ; so this machine is listening on the ß0rt 3137 for what 192.168.33.10 is sending, and vicevers | |
| nc -l -p 3137 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Linux Tar usefull commands | |
| #-x extract -z typecompression(gz) -v verbose -f use the following tar achive | |
| tar -xzvf tarfile.tar.gz #for tar.bz2 or bzip use -xjvf tar.bz2 | |
| #extract to specific path -C path | |
| tar -xzvf tarfile.tar.gz -C /mypath | |
| #extract a single file ; just add the name of the file and the path after the command | |
| tar -xzv -f file.tar.gz "./new/abc.text" | |
| #extract multiple files | |
| tar -xzv -f file.tar.gz "./new/abc.text" "./new/xyz.txt" | |
| #extract multiple files using * |
OlderNewer