Things To Know

Scan network range and see what’s up:
nmap -v -sP 10.20.30.0/24 | grep -v “down”

Normalize mp3 in a directory(Install mp3gain first: sudo apt-get install mp3gain)
find . -type f -iname ‘*.mp3’ -print0 | xargs -0 mp3gain -r -k

Move Files recursively:
find . -type f -iname ‘*.mp3’ -print0 | xargs -I{} -0 mv {} ./tosort/

Rip Audio from DVD’s
transcode -i /dev/dvd -x dvd,dvd -T 1,2,1 -a 0 -y null,tcaud -m /home/jcp/Brice1.mp3

Linux equivalent to Windows RDP
rdesktop -kfr externalname.domain.com
rdesktop -u administrator -d “Domain name” -k fr 10.20.30.0

To mount cifs drives :
sudo mount -t cifs //192.168.0.200/Pictures/ /home/user/mnttmp/ -o user=admin
sudo mount -t cifs //10.20.30.0/xxxx /home/user/S-Drive/ -o user=nameUser@domain.com

Using cp command without confirmation :
use “/bin/cp” instead of “cp” because cp is an alias
example: /bin/cp sourcefiles destfiles

Leave a Reply