To convert a Linux text file to a DOS text file do:
todos -b file.txtThe above command creates a backup of the original file, file.txt.bak, in addition to
converting file.txt to the DOS text file format.
todos -b file.txttcpdump -Dtcpdump -i eth0tcpdump -w capture.pcap -i eth0tcpdump -r capture.cap tcpdump -c 100 -i eth0tcpdump -n -i eth0tcpdump -n dst host 192.168.1.1tcpdump -n src host 192.168.1.1tcpdump -n host 192.168.1.1tcpdump -n net 192.168.1.0/24tcpdump -n dst port 23tcpdump -n dst portrange 1-1023tcpdump -n tcp dst portrange 1-1023tcpdump -n udp dst portrange 1-1023tcpdump -n "dst host 192.168.1.1 and dst port 23"tcpdump -n "dst host 192.168.1.1 and (dst port 80 or dst port 443)" tcpdump -v icmptcpdump -v arptcpdump -v "icmp or arp"tcpdump -n "broadcast or multicast"tcpdump -s 500tcpdump -s 0 sudo fdisk -lsudo apt-get install ntfs-3gsudo mkdir /media/usbhddsudo chown pi:pi /media/usbhddsudo mount -t vfat -o uid=pi,gid=pi /dev/sda1 /media/usbhddsudo umount /media/usbhdd sudo leafpad /etc/fstab &proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1/dev/sda1 /media/usbhdd vfat uid=pi,gid=pi 0 0sudo rebootcurl -b "name=daniel" http://www.site.comcurl -b some-cookie-file http://www.site.comcurl http://www.site.com --headcurl -L http://www.redirect.comcurl --header "Host: www.site.com" http://127.0.0.1/curl -A "Mozilla/4.0" http://www.site.com
curl -d "param1=value1¶m2=value2" http://hostname/resource
GET request with XML:
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET http://hostname/resource
curl --form "fileupload=@filename.txt" http://hostname/resource
Log in to a site and dump received headers to a file called headers:
curl -d "username=admin&password=admin&submit=Login" --dump-header headers http://site.com/Login
Use proxy: