Find and Remove a particular folder or file in Mac/Linux

Open a Terminal, and browser to the folder we want to start recursive deletion and run the following command , for example to delete all folder named .svn find ./ -name “.svn” | xargs rm -Rf   Share

0 Comments , , , ,

Check Public IP in Unix (Linux)

Use the below code to check your public IP from your linux console. wget -q -O – checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/

1 Comments , , , , ,

The Tale of Tail (Unix Command)

The most interesting and useful command i ever used is tail in unix. As the name indicate its duty is to show the last lines of a particular file. When take the case of log files such as error logs, always we have to know the last lines or last updations instead of reading from [...]

2 Comments , , , , , ,

Mount NTFS File System in Ubuntu (debian)

Steps: 1) sudo apt-get install ntfs-3g Installs ntfs-3g library 2) sudo fdisk -l Shows all the disk drives 3) sudo mkdir /media/windowsC Create a directory for mounting your NTFS file system 4) sudo cp /etc/fstab /etc/fstab.bak Take a backup of old conf file 5) gksudo gedit /etc/fstab Edit the configuration file 6) /dev/sda2 /media/windowsC ntfs-3g [...]

6 Comments , , ,