Posted on : 24-10-2011 | By : admin | In : Tips
1
Archived; click post to view.
Excerpt: Find command Find is a tool(comes with findutils) which looks for files on a filesystem. find has a large number of options which can be used to customise the search (refer to the manual/info pages). Here are few of them work with regular expressions. Basic example: # find / −name file This would look for a file named “file” and start at the root directory (it will search all directories including those that are mounted filesystems). The ‘−exec’ option is one of the more advanced find operations. It executes a command on the files it finds. For example. # find / −name ‘*.doc’ −exec cp….
Posted on : 21-10-2011 | By : admin | In : Tips
0
Archived; click post to view.
Excerpt: Following are the summary of inbuilt Linux text information tools. wc Word count, count how many words you have in a text document. Can also be used to count the lines or bytes within the file. Use the options −w for words, −l for lines and −c for bytes. Or simply run wc with no options to get all three. Command syntax: # wc −option file.txt style To run various readability tests on a particular text file. Will output scores on a number of different readability tests (with no options). Command syntax: # style −options text_file cmp Determines whether or not two files differ, works on any type of file…..
Posted on : 21-10-2011 | By : admin | In : Tips
0
Archived; click post to view.
Excerpt: Following are the top 5 graphics tools that can be called from the command−line. Zgv (http://www.svgalib.org/rus/zgv/) is the only one can be used from the command line but it is not much useful. All the tools listed use the X windowing system to work and simply run from the command line (so they can be scripted/automated if necessary). montage Creates a ‘montage’, an image created of many other images, arranged in a random fashion. Syntax : # montage r34.jpg r32.jpg skylines* skyline_images.miff The above would create a “montage” of images (it would tile a certain number of images) into a composite image called “skyline_images.miff”, you….