The difference between/and ~ in Linux directory

/refers to the root directory, which is the topmost directory of all directories. ~ is the current user's home directory: If it is the root user, it is the/root/directory, and if it is another user, it is a directory named/home/under the user name,

Linux command Head&tail

First, headGrammarHead [-n-k] ... [FILE] ...K is the numberThe default is to display the first 10 rows.head/etc/passwdShow first 5 lines at the beginningHead-5/etc/passwdHead-n 5/ETC/PASSWD (Note and the following have--differences)Head-n

Linux basic commands

To see if it is a virtual machine: CAT/PROC/SCSI/SCSIHow Linux Systems View version information: 1.uname-a 2.cat/proc/version 3.cat/etc/issue 4.lsb_release-aView memory Size: Cat/proc/meminfo |grep memtotalEnter "Cat/etc/issue", which shows the

Lucky 28 Platform Rental vs. Linux non-root

1. Install JDK and Tomcat installation directory for/usr/local/apache-tomcat-8.0.52 steps2. Create a user tomcat and set it to not be logged onIts command #useradd-s/usr/sbin/nologin Tomcat3. Install and compile the daemon service3.1 Switching

Linux Time synchronization NTP

Pre-configuration: Turn off the firewall, configure the HOSTS,SSH password-free login1. Select the standard for synchronization, I am using hadoop002 (set to the current time) as the synchronization standard, hadoop003 (Time is March 2018 21, set

Linux Document directory structure

Linux Document directory structureWidows:Concept of C e E F-drive letterLinux:/root directoryDirectory structure of a tree chart/tmp Storing temporary files/etc Common Square configuration file/bin executable file/root Root User home directory/lib.

Control of Linux---processes and services

1. What is a processA process is an application that is in progress in the operating system;2. How the graphics process is viewedGnome-system-monitor3. View the commands for a processPS Viewing processPS A current process-related process (contains

Linux system disk Full processing method

1. Use the Find command to find a file that occupies a larger spaceFind/-type f-size +5g-finds files larger than 5G and can be used with work permissionsFind. -type f-size +10000k Find files larger than 10MFind-type f-size +500k-and-size-1000k--Find

commands for viewing image sizes under Linux systems

1, first need to install: ImageMagick, namely:# Apt-get Install ImageMagick2, use the Identify command to query the corresponding picture information, namely:# identify logo.jpgOutput information: logo.jpg JPEG 142x57 142x57+0+0 8-bit directclass 5.7

Linux Memory Management

Basic Conceptual relationshipsIn the computer architecture, the main body of the hardware board is divided into North and South bridges, the bridge is mainly CPU memory graphics and other data transmission, and the bridge is mainly responsible for

Linux Configuration Samba Service

To enable the sharing of resources between Windows hosts and Linux servers, the Linux operating system provides samba services, and the Samba service bridges two different operating systems, enabling communication between Linux and Windows systems.1.

Some basic operations of Linux

Linux Command Summary Start-up terminal: ctr+alt+t, needless to say Terminal font enlargement: ctr+shift+ ' + ', terminal font reduction: ctr+ '-', needless to say LS: View the file information in the current directory PWD: View

Linux about process, memory, and CPU conditions

1.load average:2.03, 1.76, 1.801-minute, 5-minute, 15-minute average load2.%CPU (s): 100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0th0.0 ID: Idle rate (?? The bigger the better, the better3.mem:1883616 Total, 150796 free, 440012 used,

"Linux" tail command

UseThe tail command is primarily used to remove a few lines behindFull NameThe full name of the tail command is tail (tail)Parameters-N: followed by a number, which indicates the meaning of a few lines-F: Loop read-Q: Do not display processing

"Linux" more commands

UseMore mainly used for one page to view archivesFull NameThe full name is moreParametersSPACEBAR: Represents a page down, or you can use the Ctrl+fEnter: Represents the next row: F: Displays the file name immediately and the number of rows

Linux basic command "record"

Background Run Details: https://www.cnblogs.com/little-ant/p/3952424.htmlView ports, find commands, and moreFind file information by keyword: Cat | grep "guard" --R 7774040 -ef |grep Tomcat lsof-i:5300" keyword " pathReference:

Linux commands to view log keywords

1. Check the first n rows of the log:  Cat file name | Number of Head-nDemoCat Test.log | Head-n 200 # View Test.log Top 200 lines2. Look at the end of the log n rows :  Cat file name | Number of Tail-nDemoCat Test.log | Tail-n 200 # View Test.log

Linux Overcommit Flag

There is a overcomit configuration in Linux, which is related to the performance of the system (heuristic allow, no check, or block) when the process is requesting memory resources too much./proc/sys/vm/overcommit_memory This file contains the

Linux Command Learning

1.lsof command (list open files, which lists the opened file, everything in the Linux system exists as a file)LS of-i: Port. Lists information for the specified port2.ps command (process status, which shows Progress state information)Watch-n 1

Configure the win client and Linux server to upload the download files (using the Secure CRT tool)

1. Install package group containing RZ,SZ commandCan be selected when installing the System Package, package group name: dial-up nerworking support. If you do not have a choice when installing the system, you can install it using the Yum command

Total Pages: 5467 1 .... 3898 3899 3900 3901 3902 .... 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.