searching files with locate, find and grep
I am here to show you 3 ways to search for files in linux. locate is the most easilest way to search for files. To search for a file with filename hello.c locate hello.c You need to update the database...
View ArticleRemove all .svn directories at once
When you check out a project code base from a svn repository, each downloaded directory (from top to the deepest) contains a .svn hidden directory that keeps svn’s necessary metadata. If you want to...
View ArticleHow to list just directories
There are no such direct ways to list only directories using the UNIX/ linux famous command ls. Anyway with command combo’s, we can achieve the goal in two ways shown as below. 1. use ls -l with grep...
View Articlerm complains argument list too long
There is a limitation of rm command, where you can’t delete a large groups of files with *. For examples, rm -rf something* If there are large amount of files initiate with something, rm will fails and...
View ArticleSimple use of find to search for files in command line
Find is a very strong command to search for files and folders. You can search for files based on certain criteria besides filename, such as file types, atime, belongs to which groups, file modes, etc....
View ArticleDiscover user guides and manuals within your linux system
Do you realized that we can obtain a lots of user manuals and guideline documents from our system? There is a folder /usr/share/doc, you may find some useful docs already preinstalled by your distro....
View ArticleWordPress exploit: we been hit by hidden spam link injection
We been hit by hidden spam link injection (a modified version of goro spam injection), this crack injects spam links through wordpress wp_footer() or wp_head() hook. The spam links only reveal itself...
View Article