Linux Learning Note 4 creating users

General usage #useradd MySQLMeaning to create a MySQL userSpecial usage 1> #useradd-D/usr/cjh-m cjhMeaning: Creating a cjh user produces a home directory/usr/cjh/usr is the default User home directory group in the parent directorySpecial Usage

Linux:sed advanced command N, N (RPM)

The syntax format for sed:sed [option] {Sed-command} {Input-file}Sed under normal circumstances, the processed lines are read into the pattern space, the script "sed-command (SED command)" on one after the processing, know that the script is

Linux Learning notes Other common commands

cd + ENTER = CD ~ Enter the current user home directoryTo view the specified process information*PS-EF |grep Process Name*ps-View your own processes*ps-aux view the execution process for all usersSwitch to Ps-aux |less-mn to view the processCtil +f

Linux Plan crontab

Linux Plan crontabStart the crontab serviceGeneral start service with/sbin/service Crond startIf the root user's cron service can be crond start with sudo servicesSee if the service is already running with Ps-ax | grep cronSee if the Crontab service

Linux find inversion finds results that are not found

Under Linux, sometimes you need to find some files, there are times these file formats are not uniform and specification, but the files that need to be excluded are uniform format, you can use the reverse function of the Find commandThe general

Install Nginx on Linux

Download Nginx:wget http://nginx.org/download/nginx-1.6.2.tar.gzDecompression: Tar zxvf nginx-1.6.2.tar.gzGo to Nginx directory: CD nginxInstallation:./configure--prefix=/usr/local/nginxAn error occurred saying that the Pcre "regular module" was not

Linux Installation Issues

Java:cannot Execute binary file problemThe main reason is that the Linux system is 32-bit and the JDK version is 64-bit.Additional knowledge:1. View the number of Linux bits:#uname-AIf there's a x86_64, it's 64, and there's no 32-bit.This is 64-bit.#

Summary of Linux printf and fork () issues

Summarized as follows:printf"father begin"); pid_t pid; PID=Fork (); if(PID >0) { while(1) {printf ("Father out"); Sleep (1); } } Else if(PID = =0) { while(1) {printf ("Child out \ n" ); Sleep (1); } }

[Reprint] Understanding the Linux process

Original: http://tobegit3hub1.gitbooks.io/understanding-linux-processes/content/index.htmlThe Linux process was spoken by the teacher when we were on the operating system course, but it was so abstract and incomprehensible at that time. With the

For Delphi's dream class for Linux, Wake up completely.

Borland has repeatedly done market research, many people call for the introduction of Delphi for Linux. But until Kylix developed to the third edition, Borland understood: a free OS with a built-in C compiler environment and a close relationship, no

Linux (4) solution for setting incomplete display and unavailable input methods in unbuntu, linuxunbuntu

Linux (4) solution for setting incomplete display and unavailable input methods in unbuntu, linuxunbuntu Recently, I want to check some system information and click "about this computer". I found that some system settings are displayed, and only

Use of the sort command in Linux

Use of the sort command in Linux By default, the sort command in Linux sorts each row in the file and then outputs the result. Specifically, it starts from the first character of each line and compares the results by ASCII code value in sequence.

The default RPM installation path in Linux and the default rpm path in linux

The default RPM installation path in Linux and the default rpm path in linuxFor RPM packagesGenerallyPut the command in/usr/bin or/usr/sbin.The library is under/usr/libThe data file is under/usr/share /.Name:Rpm-pql [rpm file name] to view the files

Use backup-manager for system backup on Linux

Use backup-manager for system backup on Linux Whether simple or not, we have the opportunity to understand the importance of backup. Considering that the backup method is really versatile, you may want to know how to effectively select the right

Centos Remote File copying

Centos Remote File copying1. on the same machine:1. overwrite the copyIt is easy to copy files on centos using cp-p-r-f "/var" "/mnt/ubak/" (example. However, if you use remote replication such as putty, the task should be stopped after the putty is

Use cgroups in Centos7 to restrict process resources

Use cgroups in Centos7 to restrict process resources Cgroups Introduction The control group (cgroups) is a Linux kernel feature that allows you to specify how the kernel allocates specific resources to a process group. You can use cgroups to specify

Centos (Linux) root file system, centoslinux

Centos (Linux) root file system, centoslinux /The following files /Boot: files related to system startup, such as kernel, inittrd, and MBR grub /Dev: device file: Block devices: Random Access, data blocks such as USB Character device: Linear access.

Solution for failure to open the fb device using fbterm in Ubuntu and installation of fcitx-fbterm

Solution for failure to open the fb device using fbterm in Ubuntu and installation of fcitx-fbterm "Ubuntu 12.04.1 LTS" fbterm can't open frame buffer device solution and fcitx-fbterm Installation 1. Modify the grub2

Linux hard drive update

Linux hard drive updateBefore the kernel is upgraded, the system can be started and used normally. However, when the system kernel is upgraded, the system cannot be started normally, which may be caused by incompatibility of hard drive. You can

Install SVN in CentOS 6.5

Install SVN in CentOS 6.5 The project must be managed using SVN, so SVN must be installed on the server. Only svn: // protocol is used to access the SVN server. sasl is not enabled. The client system is Windows, which is easy to use. SVN is short

Total Pages: 5467 1 .... 5205 5206 5207 5208 5209 .... 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.