Linux command learning

Create an encrypted partition :

cryptsetup –verbose –verify-passphrase luksFormat /dev/sdb3cryptsetup luksOpen /dev/sdb3 usBLs?/dev/mapper/usbmkfs.etx4 /dev/mapper/usbe2label /dev/mapper/usb persistencemkdir -p /mnt/usbmount /dev/mapper/usb?/mnt/usbtouch /mnt/usb/test.txtumount /dev/mapper/usbcryptsetup luksClose /dev/mapper/usb

mount:

mount -o?Loop Linux. Iso/media/cdrom

egrep, awk, cut, sort and uniq:

netstat pantu | egrep -v ‘0.0.0.0 | : : : | 127.0.0.1’ |?The awk ‘{print $5}’ | egrep -v ‘Address’ | ‘:’ the cut – d – 1 f | sort | uniq

file lookup:

updatedbwhereis – b nmap

?

find . -name “ps*” -exec cp {} /tmp/{}.bak ;?

ifconfig:

ifconfig eth0 downmacchanger -m 00:11:11:11:11 eth0ifconfig eth0 upifconfig eth0 192.168.0.11?Netmask 255.255.255.0

pipe:

CD aaa & amp;?LSCD aaa &?&?Ls# CD successfully executed LSCD aaa | | ls# CD fails to perform the ls

agent:

apt – o Acquire: : HTTP: : proxy = “socks5h: / / 127.0.0.1:1080 /”?Updatecurl – x socks5h: / / 127.0.0.1:1080 https://deb.torproject.org

Related Posts