Tag: remove
Remove www From URL using .htaccess in Apache
September 6, 2008
This htaccess code will remove the ‘www’ part from the url. It uses the mod_rewrite module of apache to re-write…
Remove a Folder from Git
July 11, 2008
Remove a given folder from a Git repository… git rm -r cache/
Remove SVN Info from a Folder
July 7, 2008
This command removes the SVN data from a folder. find -name .svn -exec rm -rf {} \;
Exclude Removable Partitions from a ‘find’ Search
June 10, 2008
Search files with ‘.rpm’ extension ignoring removable partitions as cdrom, pen-drive, etc. find / -xdev -name \*.rpm
Remove Empty Characters at End of Lines
April 18, 2008
Remove empty characters at the end of each row sed -e ‘s/ *$//’ file.txt
Uninstall Using Yum
March 23, 2008
Use this command to remove a rpm package. yum remove package_name
Remove Empty Lines
February 7, 2008
Remove empty lines from a file using sed sed ‘/^$/d’ file.txt Original Article
Remove empty directories
September 13, 2007
Remove all empty directories within the current directory find . -type d -empty -exec rmdir {} \; perl -MFile::Find -e”finddepth(sub{rmdir},’.’)”…
Recent Comments