Linux additions and deletions and other basic commands

WHOAMI view current logged on userWho views which users are logged onDate to view datesCal View CalendarClear clear screen = Ctrl + LUseradd adding userspasswd Change PasswordSu replacement user (substitute users)Man help option, view instructions

Commands for how to return to the previous level of directory in Linux

You can use the CD command, the function of the CD command is to switch to the specified directory:Command format:CD [Directory name]The directory name has a few symbols that have a special meaning, "..." Represents the previous directory, the "~"

Getting Started with Linux--File system directory structure

Different operating systems for the organization of the file system is not the same, the current mainstream of the two major types of operating systems Windows and Linux they are in the file system organization in a very different way. The file

Linux installation Nginx

Nginx:http://nginx.org/en/download.htmlFirst, install the dependent softwareYum-y install gcc gcc-c++ autoconf automake makeYum-y install zlib zlib-devel OpenSSL openssl-devel pcre pcre-develSecond, install NginxDownload softwareDownload the latest

Linux installation memcached

1. First of all to analyze the installation memcache need to rely on component libevent, check that there is no installation libevent--rpm-qa|grep libeventIf not, install the--wget http://www.monkey.org/~provos/libevent-1.4. 12-stable.tar.gz --tar

Linux Deployment Project

1. Buy cloud host (million speed cloud XXX)2. Connect to the server with putty3. Installation Environment(1) JDK to see if the JDK is installed Java-versionView JDK installation Package Rpm-qa | grep javaRemove JDK rpm?-e XXXRpm?-qa?|? Grep?jdk?|?

Linux common Commands--file operations, permissions settings

1. Edit the fileVI aaa.txt open aaa.txt file Esc key switch Edit and command mode command mode input: (colon), you can enter the command : S/ string 1/ String 2 Replace string 1 with string 2 : Wq! Save the file and exit :

Linux Restore mistakenly delete files

 Linux Restore mistakenly delete filesEnvironment requirements: Create a new file system in the virtual machine, creating several files in the file system, the simulation files are mistakenly deleted in the recovery experiment.Compiling and

Linux Common shortcut key summary

Tab command or path completion most commonly used * * * * *CTRL + a cursor quickly back to the beginning * * *Ctrl+e cursor quickly back to line end * * * *CTRL+F cursor moves right one character *CTRL+B cursor moves left one character *Ctrl+insert

Linux Process Management Commands

PSPS lists processes, process numbers, CPU usage in the systemps-a all running processesPs-efPs-auxPstreeVisualize the child process parent process relationship, no parent process specified, root is initTop' Top ' is a more useful command to monitor

Linux Basics-Statistics command: WC

wc [选项] 文件-C Count bytes.-L counts the number of rows.-M counts the number of characters. This flag cannot be used with the-C flag.-W count words. A word is defined as a string separated by a blank, a jump, or a newline character.-L Prints the

Linux Tomcat Log View Utility commands

Utility Commands: View the Tomcat run log Tail-f Catalina.out View logs with keyword search Cat Jeewx-2015-09-20.log | grep Verification Code Viewing a fixed time log Cat

Compression and decompression of linux-files

bz2

Compression1. Definition: Compression is a large file through a number of compression algorithms into small files2. Purpose: Mainly to reduce the size of the file, which will save the disk or tape storage file space, and the transmission of these

First assignment: Analysis of Linux systems

I. Composition of the operating system1. Process-free kernelIn some operating systems, the kernel of the operating system executes outside of all processes. In other words, the operating system has its own memory area and system stack, and when the

How Linux adds a swap partition

1. Create a new disk partition as a swap partition2. Use the file as a swap partition (easier to operate, I'm more used)A. Create a new disk partition as a swap partition1. # swapoff-a #停止所有的swap分区2. Use the Fdisk command (example: # FDISK/DEV/SDB)

First assignment: In-depth source analysis process Model (Linux)

I. What is a processThere are many software that can be run on a computer, including the operating system, which, when run, produces one or more processes.Two. Organization and transformation of processes in Linux systemsThe descriptor of a process

Linux:grep multiple keywords "and" and "or"

1, or operation' 123|ABC ' filename // Find file (filename) contains 123 or line '123|abc' containing ABC FileName // Egrep can also be used to implement '/123|abc/' filename // how awk is implemented 2, and the Operation2, with the

Linux (19) YUM

19.1 IntroductionYum is a shell front-end package manager. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all

Linux (16) service Management

16.1 IntroductionService is the essence of the process, but is running in the background, usually listen to a port, waiting for other programs, such as (mysql,sshd, firewalls, etc.), so we are called daemons, is a very important knowledge point in

Linux (eight) user management

8.1 Basic IntroductionThe Linux system is a multi-user multitasking operating system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as this account.Linux users need

Total Pages: 5467 1 .... 4395 4396 4397 4398 4399 .... 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.