Coding, Linux, Hacking Security, Learning!
linux command
find and copy file in linux
Jul 3rd
find all the mp3 file in the current directory and copy them to /home/user/song directory
find ./ -iname \*.mp3 cp {} /home/user/song \;
wget download file from password protected website
May 9th
wget –user=username –passwd=yourpassword http://domainname.com/whatever.zip
linux remove file based on date(e.g based on month)
May 6th
ls -lah | grep ‘May’ | awk ‘ { print $12 } ‘ > name.txt
rm `cat name.txt`
find out the size of directory in Linux
Oct 5th