Learn these commands to share: Search data within a text filegrep -n -e pattern1 -e pattern2 file1-nThe search data shows the line number display-e pattern1Multiple matching modes can be selected by this parameter, and the multiple relationships are
Relational Firewall service Iptables stopSetup firewall is not in Startup Setup firewall run Tool->disabled->okView IP ifconfigPing IPConnecting to FTP Winscpportable.exeUpload the data to the/USR/LOCAL/SRCAssigning Permissions
Linux: File Permissions
1. File permissions☆ File Owner☆ User Group☆ the Others☆root
Note: The default information on all systems on the Linux system is recorded in the account with the general identity user and the root
The __function__ constant records the name of the current function in C + +. Sometimes it is useful to include this information in the log output. In bash, too, there is a constant funcname, but the difference is that it is an array, not a string,
>>1. Set up the user Westos in the desktop host and set its password to Westoslinux2. Configure the SSHD service requirements in desktop as follows:*) Set SSHD service to allow only Westos users to be accessed using*) Create a key authentication
To view the Port Occupancy command: Lsof-i View the usage of one of the ports: Lsof-i: Port number to end the process that takes up the interface: Killall process name can also be used command: netstat-APN|grep For example:
In this chapter, we will learn about the processes involved.So, what is a process?The process is actually the work that the CPU does not finishWe can see the process through the PS command.PS commandPS parameters (Note that there are no-, there-are
Putty;1, install putty,Puttygen. 2. Open Puttygen, click Generate to generate the key,save Privatekey the key. 650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/88/5E/wKiom1fyV9iCp40KAACJivZQWjk159.png-wh_500x0-wm_3 -wmp_4-s_2665933891.
Environment variable ShellVariables: Memory space, named memory space Echo $SHELL where the SHELL is a variable inside is/bin/bashsudo su enters rootprintenv commandCommands: Internal commands and external commandsThe command that comes with the
Source: http://www.2cto.com/os/201111/109920.htmlIn the shell command terminal, CTRL + N equals the direction-down direction key, ctrl+p the direction key that corresponds to the direction.In the command terminal through them or the direction of the
CentOS installed, but still can not communicate with the external machine, in the black window operation is still a lot of inconvenient, such as can not be copied. So, we need to configure the IP, and then use the Remote Connection tool to connect
Turn on or restart the system, and when you see the countdown, press the E keyAnd then press the E key.Select the kernel line and press the E keySpace, then enter the number 1, enter the no password mode after enteringpasswd Change Password or
The previous chapter we learned the user's rights and user management, this chapter we will learn the permissions and management of filesThe content of this chapter is very important, because everything in Linux is a file. Therefore, the management
Feels like WinDOS is not the same as the boot disk of the Linux installation systemIn fact, I do not know very well. WinDOS, I used the old peaches and then I installed Linux, and I chose Ultraios as the boot disk.One:First download Ultraios in
This article describes how to use the Linux Tail command. The use of the Linux Tail command is to output the last part of the specified file to a standard device, usually a terminal, in layman's terms, to display the last few lines of an archive
vi /etc/pam.d/system-authAs Root.
Look for the following and the lines:password requisite pam_cracklib.so try_first_pass retry=3password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
Comment out the first of
Linux split file, linuxsplit splitIntroduction
Split can split a large file into multiple files of the specified size, and the splitting speed is very fast. It takes less than one second to split a 1 GB file, if you perform manual operations on
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