VIPW:[Email protected] www.linuxidc.com:/home# VIPWFind the user you created before, delete the line with DD (Remember to save: Wq or:x). After.[Email protected] www.linuxidc.com:/home# vipw-sFind the user belongs to the group, also DD Kill can
1. Ubuntu View disk space Size commandThe Df-h DF command is a Linux system that views the file system as a disk partition, which can be added with parameters to view the disk's remaining space information, the command format: DF-HL display format:
6.15 IfSyntax: if (condition) {...}Application Scenarios:Server segmentLocation sectionThe common conditionVariable name (the value of the variable is an empty string, or it starts with "0", or false, and the others are true)A comparison expression
7.linux File and directory managementI. Paths and directories1.1 Relative path and absolute path:Relative path: Relative to the current directory's pathAbsolute path: The path relative to/1.2 Show current path and toggle current pathPWD Displays the
Command basic formatafter login Command Prompt[Email protected] ~]#where root: currently logged in userlocalhost: host name~: Current directory ( home directory );#: prompt for Super user$: prompt for normal user is $Superuser's home is a level user
One, the cat command1, Cat use: Display the contents of the fileEx:cat a.txt #显示a the contents of the. txt fileCat/proc/uptime第一个值表示系统从开机到现在的时间(s)第二个值表示系统开机后空闲的时间(s)系统空闲比:第二个值/第一个值2. Command format: Cat [options] File
A few simple steps:1, upload the Tomcat compression package to the Linux related directory. (FTP or WINSCP or SECURECRT)2. Enter the directory and unpack the Tomcat installation package.Cd/usr/tomcat Execute command TAR-XZVF apache-tomcat-8.5.33.tar.
Set permissionsChmod[-r]permission filename|directory(1) Modifying permissions in digital notation------------------------------------------------The number notation reads R, W, x as 4, 2.1来, and the part that is not granted is represented as 0 and
Nginx is useful, but once the key configuration files are modified, it is difficult to unload the load. I because of the use of Apt-get mode installed after the source installed Nginx, the result of conflict, uninstall, not installed, it is egg pain.
When the system prompts:[Root@localhost ~]# Ping www.baidu.comPing:unknown Host Www.baidu.com, first see if you can ping the router, and the router can connect to the SISU network[[email protected] ~]# Ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) bytes of
Linux Network troubleshootingIdeas:Hardware issues:First, troubleshoot hardware, including network cable, Hub, Switch, Router, network card, device configuration rules, and so on.Software issues:1. Ip/netmask Setup error for NICIP, Netmask, Nic
① creating CDROM in the media directory② Mount Mount/dev/cdrom/mnt/cdrom?③ Configuration in Rhel7.repo④ Enter Yum repolist view⑤ entering yum install vsftpd installing FTP Service⑥?vim/etc/vsftpd/vsftpd.conf Modification of core configuration
1, laravel5.4 formal environment Linux appears undefined code problemError location in: Login module, login reference $_session[' code ' in the code is not definedReason:In the login controller code$input = Input::all ()So directly into the if
First, the configuration of Yum source management and software management. Yum Common Tools tree Telnet SL Cowsay1.Yum Install tree #安装tree命令, display#由于每次安装都由是否确认的提示, cancel the default installation by adding-y after the command. As followsYum
ChownWhen we want to change the owner of a file, the user we use must be the owner of the file and be a member of the target group, or Superuser. Only super users can change the owner of the file.Chown Syntax:chown [Options] ... Owner [: [Group]]
1. Close the selected virtual machine and click on the hard drive and right button.2. Click to browse the data store.3. Click 192,168.1.110, click Download,4. Select a storage location. To download.5. If necessary, upload the downloaded files to
The LS command is the most common command for Linux virtual machines, and LS is the abbreviation for list, which is used to display the contents of the specified working directory.First, the syntax of the next LS command is explained[-Alrtafr][name..
One, two servers password-free login:1. Generate KeySsh-keygen Command Manual, the "man Ssh-keygen" command to view the instructions:Create a pair of keys, including the public key and the private key, from the command "ssh-keygen-t RSA" , which
1
Command replacement is similar to redirection, but the difference is that command replacement uses the output of one command as the parameter of another command. Common command formats:
Command1 'command2'
The output of command2 is used as 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service