Create symbolic link (Sym Link)
To create a symbolic link in Unix or Linux, at the shell prompt, enter the following command:
ln -s {target-filename} {symbolic-filename}
ln -s {target-dir}/ {symbolic-ref}
Check Open Ports
netstat -an | grep "LISTEN "
and
nmap -sS 127.0.0.1
Extract tar.gz
tar -C /myfolder -zxvf yourfile.tar
Search for a file
find path/to/search -name FILE_NAME
Example
find / -name FILE_NAME
Rsync
rsync -r -v -e ssh [email protected]:~/webroot.txt /tmp
This entry is a note to self for being amnesiac
0 comments:
Post a Comment