Xóa bài viết
Bạn có chắc chắn muốn xóa bài viết này không ?
32 Linux commands which we frequently use in a working day
- ls: Listing the file/directory.(ls -af or ls -l) and ll is also a good command. ll = ls -al.
- cd or (cd ~, cd -). Using to travel in the file system.
- mkdir (mkdir -p): Create an directory.
- touch: Create a empty file.
- cp -rf Copy some file or directory
- rm -rf: Delete some file or director
- tar: Extract or compress files into a TAR file.
- tail -f or tail -n : Using to show "live" a file
- head -n: Show n lines of file, from top to bottom
- echo: Print a variable
- grep -i or grep -A : Wrapping a text string from files or output string
- ctrl +\ : Kill the current process.
- Ctrl + c: Send an INT interrupt to a process
- find : Searching a file in file system.
- whereis: Searching a file of command in directory which contains in PATH variable
- sed: Very complex command, using to filter a text string from file or output string
- cut -cn-m: Cut from nth column to mth column.
- cat: Using to mix some files to a file or to view the content of file
- file: Using to know the type of file
- kill: Using to kill the process
- top: Using to know which background processes are running
- bg: Forcing the process into background
- fg: Forcing a background process to a foreground process
- df: Using to know the statistic disk
- du: To know how much you used your disk
- which: Where a command is
- id: Show your information account: username, uid, guid, home directory, and the shell
- uname: Show information about your system which version is.
- alias del="rm -v" Create an alias.
- date: Show date time information
- cal: Is a calculation.
- tr: Using to delete the a specified letter set, or translate from a letter set1 to a letter set2.
We can find more tips on the fan page https://www.facebook.com/kezaburo?ref=hl
Cùng một tác giả
Bài viết liên quan