Wednesday 10 September 2014

About Linux Commands

Changing ownership:-
 ◮chown command is used for changing the ownership and also group of the file

File system commands
Deleting Files - rm
Copying and moving files - cp, mv
Creating directories - mkdir

change password:- 
passwd command allows you to change your password

WHO: Who are the users?
who command tells you the users currently logged on to the system

cat : Concatenate Files
cat command is used to display the contents of a small file on terminal

tac : concatenate files in reverse
tac command is used to display the contents of a small file in reverse order on terminal

more, less : paging output
more and less commands are used to view large files one page at a time

wc : statistic of file
wc command is used to count lines, words and characters, depending on the option used.

Changing the File attributes
chmod Changing the permissions of the file

0 comments:

Post a Comment

Total Pageviews

Popular Posts

Site Traffic Live View

Powered by Blogger.