Basic Commands

Certain things in Linux can only be done in the shell, and other things are just faster if you know the right commands. When shell commands become second nature they can be combined into a text file known as a scripts. Shell Scripting can be very useful for automating some task that are done on a regular basis. Learning the basic shell commands are a good way to start learning how to take full control of your Linux system. Most of these commands can also be used in many UNIX systems as well. You may find that a lot of basic commands are short hand for what you want to do.

Man
Almost every command has a manual that can be accessed within the shell. These can be rather technical at times and are more for a reference than a guide. This documentation on the commands are known as a man page from the command itself. To view the manual use the following command and syntax. man &lt;program name> //DENEME Scrolling is done by the "Enter" key for a line by line or "Space Bar" for a screen scroll. The "Page up" and "Page Down" keys can be used also. The way to exit the man page is to press the "Q" key.

Info
Another and newer information resource while in a shell is the info command. It works much like the man command listed above. Not every command has a info page but the numbers are increasing.

The command syntax is the same as man info Scrolling can be done by the "Arrow" keys for a line by line scroll. The "Space Bar", "Page up". and "Page down" keys can still be used for a screen scroll."Q" is still the exit key. studown now

Basic Commands
List the current directories file and directory vikash ls -s

List the another directory then the current. ls to listed down files

Change to a different Directory. cd

Remove a file in the current directory. rm

Remove a file in a different directory. rm

Remove a directory in current directory. rmdir

Remove a directory in a different directory. rmdir

Show the contents of a file cat or cat

Show current directory pwd

Run a command as root sudo or su su will provide root account access. After running this command you will be prompted for root password. After providing the correct password you will then be logged in as root for that terminal session.

Install a package at the command line (root access needed by su or sudo) dnf install

Log out (or close if open from a Desktop Manager) exit