ls -> list/displays contents of a directory.
cat -> displays (concatenate) the contents of a text file to the screen.
head-> views first few lines of a file. The defaut number of lines is 10.
tail -> views the last few lines of a file.
more -> view the file page by page.
less -> view the file page by page but you can use the up-down keys.
grep -> global regular expression print, Displays lines in a text file mathcing a given regexp.
file -> determines the file type of a file.
No comments:
Post a Comment