The 'mv' command is using for renaming. And 'rm' command for removing files. 'wc' for counting lines,words,characters. The 'grep' command is for searching a word. '-v' for searching all words except the indicating word in a line.
mv filename newname
rm filename1 filename2
wc filename1 filename2 // count lines,words,characters.
wc -l //only counts the new lines.
wc -w //print the word count.
wc -m //print the character counts.
wc -c //printf the byte counts.
grep int filename // for searching the word int.
grep -v int filename // all except int.
No comments:
Post a Comment