Linux Command User Maintenance

Linux Command User MaintenanceBasicAdd a XXX User:useradd xxxAdd a XXX user, specify home directory for/home/xxx:useradd -m -d /home/xxx xxxAdd a XXX user, specify the home directory as/home/xxx, and specify with bash:useradd -m -d /home/xxx -s /bin/

How to set a static IP address in a Linux system

. In the terminal, enter: Vim/etc/sysconfig/network-scripts/ifcfg-eth02. Start editing, fill in the IP address, subnet mask, gateway, DNS, and so on. Where "the information inside the red box" is necessary.Onboot = yesBootroto = staticDNS1 = 192.168.

Linux commands use the format

Linux Commands format :command [options] [arguments]Command: CommandsOptions:--words or-wordsuch as: LS--allEqu ls-aLs-a-b-cEqu LS-ABCArgument: parameter (file name or other)Detailed introduction to Ifconfig,echo, TTY, STARTX, export, pwd, history,

How does Linux view all the user and group information?

cat/etc/passwd CAT/ETC/PASSWD View all user information, details such as "Step two" Cat/etc/passwd|grep user nameThe Cat/etc/passwd|grep user name that is used to find a user, such as "Step three" Cat/etc/groupCat/etc/group View all group

3 minutes to teach you to do Linux yourself

1. Partitioning out of two districtsFdisk/dev/sdb650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/87/4E/wKiom1fbrmjxSb2pAAA-dY1iNzo653.png "title=" 1.png " alt= "Wkiom1fbrmjxsb2paaa-dy1inzo653.png"/>2. Creating a File system[Email

SED command for Linux

First, the initial knowledge of SEDIn the process of deploying OpenStack, you will have access to a large number of SED commands, such as# Bind MySQL service to all network interfaces.Sed-i ' s/127.0.0.1/0.0.0.0/g '/etc/mysql/my.cnfSo what does this

How to find file contents in Linux

Linux finds common command methods for file content.Find the line matching the specified string from the file contents:$ grep "string found" file nameExample: Looking for the. In file containing the specified string in the first level folder in the

Linux System Recovery

Experimental Purpose: familiar with the previous start-up process, the system of a general start-up process is how, and it involves a few files, these files are used to connect the steps when the system starts, if the files are damaged or missing,

Linux Decompression/Compression Operations Command

. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.

Some knowledge of Linux disk and file system management

Today I learned some knowledge of Linux disk and file system management, here do a summary memo.File System Related:Virtual file System (VFS):Can you understand this?Translate the commands and operations of the upper user into translationThe purpose

Introduction to Linux-nfs Principle

NFS (network filesystem) was developed by Sun, and its role is to share the directories you want to develop with others in the network, so that visitors can access things on the NFS server as if they were local files. Data security issues arise when

Linux Compression and Decompression commands

bz2

Tar commandUnpacking: Tar zxvf Filename.tarPackage: Tar czvf filename.tar DirName GZ commandDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf

Linux beginner: Linux common commands (ii)

Compression and Decompression commands Gzip/guzip Zip/unzip tarThe general available parameters for Gzip and gunzip are-R, for example:gzip Test.txt Compressed Files gzip -R test compresses sub-files under all test gunzip test.gz Extract FilesZip

customizing Linux commands

?Method One, modify the/ETC/BASHRC fileAdd at the bottom of the fileAlias zone= "Cd/usr/local/webserver"  Entering zone at the command line will go directly to the development directoryMethod Two, establish shell script implementation1. Create a

Linux boot prompt "unexpected inconsistency; RUN fsck Manually "

background: Today, a test machine suddenly appeared a phenomenon, the disk is not writable. After reboot, at boot, prompt "unexpected inconsistency; Run fsck Manually "cannot enter the system (), translates to mean: unexpected inconsistency error,

"Linux Basics" week sixth job

1. copy The/etc/rc.d/rc.sysinit file to the/tmp directory and add # to the beginning of the line with at least one whitespace character in the/tmp/rc.sysinit file;Cp/etc/rc.d/rc.sysinit/tmp/sed-n ' S/^\ ([[: space:]]\+\)/#\1/p

Dry! Decoding and protection of Linux passwords

Retrieve root password:If you encounter a lost password, you can have the administrator reset the password if it is just a lost password for the normal user. But if the administrator user's password is lost, then how to solve?In the Linux

Offsite Backup--windows and Linux

1.PSCP command Introduction, only need to copy this file to the system directory corresponding to the System32, you can check the description of tearful, as shown belowPuTTY Secure Copy ClientRelease 0.67USAGE:PSCP [Options] [[Email

Iptables and iptables configuration

Iptables and iptables configuration 1. open ports 22, 80, and 9011 on the server: Iptables-a input-p tcp -- dport 9011-j ACCEPTIptables-a output-p tcp -- sport 9011-j ACCEPT Iptables-a input-p tcp -- dport 22-j ACCEPTIptables-a output-p tcp --

Basic Linux commands and basic linux commands

Basic Linux commands and basic linux commands The following are my notes on linux. First, let's get familiar with it: DNS is used to resolve domain names; the default url port is 80, which can be left blank; localhost is 127.0.0.1. If it is root,

Total Pages: 5467 1 .... 3068 3069 3070 3071 3072 .... 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.