26 Feb 2016
WHILE loop:
FOR loop:
Read A Line On A File:
Read the mailboxes lines and copy to archive directory
Substitution:
replace ‘cat’ by ‘dog’ in file in.txt and output it to file out.txt the ‘g’ means replace all matches, not just the first on a given line
Batch File Rename:
Batch File Rename Ext:
26 Feb 2016
ENABLE sudo COMMAND WITH A tty USING pssh
26 Feb 2016
SSH With Identity Key:
SSH Agent Forwarding:
Appending File Using SSH:
SSHFS With Identity Key:
26 Feb 2016
Creating Software RAID Array:
Generate A Lost mdadm.conf File:
26 Feb 2016
NETCAT:
NETSTAT:
- List all active TCP and UDP port
- List all TCP ports in listening state
- List all UDP ports in listening state
- List all UNIX domain sockets in listening state
TRACEROUTE:
NMAP:
- Network Fast Discovery With Nmap