Linux Commands For Beginners #1
Do you about linux, or you've heard? If you only knew, below are the basic command in this operation system.
- cd Change Directory
- cd /home Change the current working directory to /home. The '/' indicates relative to root, and no matter what directory you are in when you execute this command, the directory will be changed to "/home".
- ls List File
- ls -al List all files in the current working directory in long listing format showing permissions, ownership, size, and time and date stamp.
- pwd Show the name of the current working directory
- cat Sends file contents to standard output. This is a way to list the contents of short files to the screen. It works well with piping.
- cp Copy files
- more Allows file contents or piped output to be sent to the screen one page at a time.
- mv Move or rename files.
- mv -i myfile yourfile Move the file from "myfile" to "yourfile". This effectively changes the name of "myfile" to "yourfile".
- mv -i /data/myfile . Move the file from "myfile" from the directory "/data" to the current working directory.
OK, that's it. It will be on for longer commands the other. Do not forget just follow us.

No comments: