LS: Displays the contents of the current directory-A: Displays all files, including "." Start of hidden files-A: Display except "." and ".." All files except the-L: Show details of a file or directory-I: Displays the index number of the file-D:
Netstat/lsof
The netstat command is used to display statistics related to IP, TCP, UDP, and ICMP protocols, and is typically used to verify network connectivity across ports on the local computer.
-a displays a list of all valid connection
I. COMMAND basic format Linux starter [[email protected] ~]#:root represents the current login, Locahost represents the current user's host, ~ represents the current directory (home directory), #: Super User prompt, The normal user prompt is the
Linux Common commands:Linux File system:1. File names are strictly case sensitive2. Files can use any character except/unexpectedly; special characters are not recommended3. File name cannot be longer than 255 characters4. Files with a. Start as
User Management class commandsAdd User: Useradd nameDelete User: Userdel-r name "-r" means to delete the corresponding user's directoryChange Password: passwd nameSwitch User: Su-name "-" means that the switch user is brought into the environment
Linux basic commands (all files)Command format:command [options] [parameters]Note: Use spaces to separate commands, options, and parameters, most of which support only 256 characters.HelpMan Handbook eg. Man MansMan command/Function name/header
1. ACL Permissions Introduction: Professional to solve the problem of insufficient identity (similar to Windows Rights Assignment) View partition ACL permissions open: Dumpe2fs-h/dev/sda3 options:-H Show only information in
The command history of Bash's underlying features:Command history: The shell process saves commands that were previously executed by the user in its session~] #historyCustomizing the history function, which can be implemented by environment
Excerpt finishing, non-original, registered two years to write the first article, I was how lazy ...After modifying the code of the project in eclipse to submit to SVN, do not want to be submitted with the default user name now, want to modify the
PWD Displays the current directoryTouch to create a blank file or to update the time of an existing file. The file that starts with is a hidden fileListing Directory ContentsLs-a Show all files including hidden filesLs-r Show DetailsLS-R display the
1. Folder operationsMy Computer user name is studentRight-click New terminal to enter the following contentThe CD will jump directly into the Student directory layerCd.. Jumps into the previous layerCd.. /.. Lian-HopCd/home no matter where you are
Some common commands for LinuxThese days it's time to study Linux and plan to deploy the next project on a Linux-system server that has increased security (lost by Window 2003), decided to use the CentOS version of the Linux system after all the
When you need to connect to Linux with Xshell:First in Terminal input command: Service sshd start (SSH service enabled)1, NETSTAT-TNL: View the port Status of the command (such as View 22 port)2. Service sshd stop: close SSH serviceService sshd
Linux file system and basic commandsInstructions and examples:1.PWD: This command displays the working directory[Email protected] sysconfig]# pwd/etc/sysconfig2.echo: This command displays the command back[Email protected] sysconfig]# echo $PATH/usr/
3. find files by nameAbsolute path: The fully qualified name, which defines each subdirectory that arrives and uniquely represents a single file, and the first character is the absolute path. Relative path: The same as the absolute path is a
Learn Linux, starting with the commandThe graphical interface just makes simple things simpler graphical interface can quickly handle simple things, such as opening/closing a file Then, as transaction complexity increases, the graphical interface
1, to your computer "thin body"
At the beginning of the purchase, the speed of the "strange fast" of the huge memory, why the speed of running more and more slowly? Open a program It's like "The old cow pulls the cart". In order to avoid you "bleed"
Sometimes we copy the file to a U disk, and then when we open this U disk from another computer, we find that the U disk is blank and nothing can be seen! or the new copy into the invisible, and the previous thing is still, or sometimes all the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.