Commands
- BASH Commands (Shell Commands)
- Application Commands
- sbin → System Binary
- bin → Binary
** ¦ more → fit the output to screen
Ex: help ¦ more
* To see Shell and Application Commands.
** Login as root and press Tab key Three times.
* How to check commands (Is it Shell or Application command)
** type -a command name
Ex: type -a logout
* How to see details of commands (Shell Description)
** whatis command name
Ex: whatis cal
Long Description
man command name → Ex: man cal
Directory Browsing and listing Commands
■ To see the current location of a user
- Command → pwd (Print Working Directory)
- Command → ls or tree
- White → text base files
- Dark blue → folders
- Green → executable file (or any file to copied from Windows to Linux)
- Purple → multimedia files
- Orange → device driver files
- Red → compressed files
- Light Blue → short cuts
command → mv
Syntax → mv_current_object name_new object name
Ex: mv folder1 folder2
Moving Objects
command → mv
Syntax → mv_object name_new location name
Ex: mv folder1 /home
Deleting Objects
command → rm
Syntax → rm_-r_object name
Ex: rm -r folder
0 comments:
Post a Comment