Basic Linux Learning (iv)

In this section we will learn about user managementTo learn about user management, first understand what a user is.The user is the identity of the system consumerIn the system, the user is stored as several string characters + several system

File Search under Linux

Common:GREP-NR "keyword" searches for all files in the current directory that match the keywordGrep-nr "keywords" *php search php files for all matching keywords in the current directoryFind-name ' *.php ' |xargs grep ' hello! ' Search all matching

Linux View 80 Port Usage

Lsof-i: Port numberegLsof-i:80Lsof-i:21[Email protected] ~]# lsof-i: theCOMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE namehttpd4168Root3uIPv419175456780t0 TCP *: http (LISTEN) httpd4170Nagios3uIPv419175456780t0 TCP *: http (LISTEN)

The accumulation of some small knowledge of scripts in Linux

For a variable problem: Assign a value to the variable, a= "Hello World", and now print the contents of variable A: echo $a. For the use of ${}: Like $aall, we want $ A, which is, you can ${a}all. For the difference between $

Linux lookup filtering and user/group management

1. List the user names of all logged-in users on the current system, note that the same user logs on multiple times, only once. W.H.O. | Cut–d ' –f1 | Uniq650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/88/69/wKiom1f17rHhhGRyAAAUtbXhma809

4. Common Linux Commands

1. LS View current directory information2. PWD View current directory3. CD switch Directory shortcut operation: CD-can quickly to the latest two directory switch, CD or cd~ directly back to the user's own home directory,4. Hwclock View System BIOS

Linux-unit7-9

Unit Seven1 . Status of the processRun, stop, hibernate, zombie process (the process is closed but still occupies memory), end2. View process CommandsPs-a View The processes running in the shell (-a means that only the processes in the Shell's front

Linux after class exercises

>>1. Using student User Login System graphical interface2. Open a Bash3. Modify the student password to update the password to "T3st1ngtlme" (host letters and numbers)4. Display the current system time5. Display the current system time, the display

JDK environment configuration in Linux

1, first download JDK source files. tar.gz file2, Root with fire decompression sudo tar-zxvf. tar.gz3, add the following content in the Etc/profile file4, install before using java-version to see if there is no openjdk, if please first uninstall, in

linux-(Fg_jobs)

After starting the program, often need to check whether the boot log is normal, there is no error, and sometimes the log volume is very large (brush screen), not easy to see the log, then need to stop, before the use of Crtl+c directly quit, and

Linux Learning Methods

Linux Learning methods learn linux four elements Objective: To determine the short, medium and long term goals, only with the goal direction, the momentum is more sufficient. Method: There is no good learning method, will make you difficult,

Linux Learning drip Recording

1,!vi refers to finding the nearest VI command in your command history to execute him.2,init 6 reboot, init 0 shutdown.3,IFCONFIG-A View all network cards, Dhclient automatically get Ip,route view netmask and Gateway4, install vm10.0 (virtual

Linux command day1001 time, FHS

Several concepts of management commands for files and directoriesWorking directoryHome DirectoryCreate directory: mkdir./A equals mkdir aApplication of Shell:": Strong references"": Weak reference": Command appAnother feature of the Linux file

Linux Run level detailed

For advanced users who are under the Dos/win9x/nt platform, Linux appears to be a monster. No Config.sys, no Autoexec.bat, and a personal feature of the machine configuration does not know where to start.It should be explained that many people think

Use of SEQ under Linux

Seq-print a sequence of numbers[[email protected] ~]# man seqThere are three main parameters-F: Used to format the output-S: Used to specify the separator symbol, the default is carriage return-W: output of the same width sequence, the insufficient

Linux Rookie Learning Path >>1

>>>>>unit 11. Line promptFor example: [[email protected] desktop]$Kiosk # #打开shell的用户@ # #分隔符Foundation0 # #主机名称Desktop # #工作目录名称$ # #身份提示符, #表示超级用户, $ represents a normal userNote: The command must be entered at the line prompt to execute2. Switch

Linux Rookie Learning Path >>5

# 1 # # User Understandingthe user is the identity of the system consumerThe user is stored as a number of channeling characters in the system+a number of system configuration filesUser information involves the system configuration file:/etc/passwd #

Linux Device model

Device_driver and device must be attached to the bus. The bus, drive, and equipment will eventually be implemented as a directory in Sysfs. Kobject corresponds to a directory of SYSFS.Attribute directly implement a file in the Sysfs, if attribute

Standard output redirection and output redirection

Standard output redirection and output redirection Use the ls command to demonstrate: Note1: when you enter the correct ls command, the output is stored in the abc file in overwrite mode. Note2: When lsss (incorrect ls) is input, the wrong

Poll mechanism and linuxpoll Mechanism

Poll mechanism and linuxpoll Mechanism Use the POLL mechanism to replace the asynchronous notifications in the input subsystem of linux and the asynchronous notifications in the LED control to achieve the same effect. 1. Code Only the

Total Pages: 5467 1 .... 4961 4962 4963 4964 4965 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.