click below
click below
Normal Size Small Size show me how
Linux commands
common linux commands
| Question | Answer |
|---|---|
| Ls | Displays a list of directories and files. |
| Grep | Searches for a specific pattern in a file or in multiple files. |
| cd | Changes directory |
| Shut down | Automated shutdown to the system. |
| Passwd | Changes your password |
| Pw | Shows the name of the current working directory |
| Mv | Moves a file or renames it, if the source and destination are the same directory. |
| Cp | Copies files |
| rm | Removes or deletes the file or files that are specified. |
| chmod | System call which is used to change the access permissions of file system objects (files and directories) |
| Chown | change the owner of file system files, directories |
| Ifconfig | Used to troubleshoot problems with network connections under TCP/IP |
| Iwconfig | Use it to display information about the wireless adapter's configuration or to charge that configuration. |
| Ps | Displays the process table so that you can identify process IDs for currently running processes. |
| Su | Opens a new terminal shell for a different user account. |
| Sudo | when logged in as a normal user with an account that has the right to use root commands. Run the command as the superuser. |
| Apt-get | Used to install and remove packages in linux |
| Vi | Launches a full-screen editor that can be used to edit a file. |
| dd | Copies and converts files, directories, partitions, and even entire DVDs or hard drives. Its a powerful command with many Practical uses and parameters and only a superuser can use it. |