1 command function (brief description):The command mainly has two usages (1) To change the access time and modification time of the file to the current time, (2) The nonexistent file will be created as an empty file unless the-C or-h option is used;2
View a folder is the mount path, for example, to see where the OPT folder is mounted: df/opt[Email protected]:~# df/optFilesystem 1k-blocks used Available use% mountedon/ DEV/VDA1 41151808 6999740 32038640 18%/See if Linux is 64-bit
"Linux Command"LS lists the files in the current directoryPWD Current PathCD changes the current pathTouch Create Filemkdir Creating a FolderClear Empty Command WindowLs-a display all files in the current directory (including hidden files)LS-L
1th SED Foundation 1.1 sed Option Stream Editor-R supports extended regular-N cancels the default output-I direct modification does not output to the desktop-i.bak BackupThe writing format of 1.2 sedSed ' conditional command 'Sed ' pattern command
Screen-s name creates a background named name, or bash panel, where the task running does not exit because the connection is broken, and preserves information on bashSCREEN-LS Lists all the screenScreen-r the corresponding screen number back to the
SCP copies files between hosts on a network. The same Securityas ssh (1). SCP would ask for passwords or passphrases if they is needed for authentication.File names may contain a, user and host specification to indicate, the file is to be copied
1 "Extract files (z-file format, X-Unzip, V-Show Extract progress information ,f-execution): Tar-zxvf filename 2 rename (not required): MV jdk1.7.0_80 jdk1.73 Set Environment variables:vi/etc/Profile After entering the above command, enter and
First, the server configures DHCP to shut down the firewallYum Install Dhcp-yCd/etc/dhcpCp/usr/share/doc/dhcp-4.2.5/dhcpd.conf.example dhcpd.confVim dhcpd.confSystemctl Restart DHCPDTestUnplug the network cableSystemctl Restart NetwarkIfconfigYum
January 10, 2017, Tuesday Linux command Exercise 1, Statistics/usr/bin/Directory of the number of files; Ls/usr/bin | wc-lDetermine if the/home/goldin directory has file 2, remove the shell of all the users on the current system, require that each
###############First step: Create a 2G partitionStep two: Yum install targetcli-y step three: Create a 2G partition and synchronizeFourth Step: Execute TAGETCLILS View/>/backstores/block Create westos:storage1/dev/vdb1 set/DEV/VDB1 as a shared hard
One: Control of processes and services1. What is a processPrograms that are in progress in the system2. How the graphics process is viewedGnome-system-monitor3. View the commands for a processPS Viewing processA current process-related process
I. Memory INTRODUCTIONMemory, also known as primary memory, is the storage space that the CPU can directly address, which is made of semiconductor devices. It is a bridge to communicate with the CPU. All programs in the computer run in memory, so
Open the virtual machine, connect with Xshell, first we want to get the IP address first enter the command to get the IPIP addr Get IPIfup (NIC name) #网卡启动Ifdown (NIC name) #网卡关闭Without getting the wordsWe will begin to troubleshoot the
Disk Management mainly includes the following content:
Disk structure
Introduction to Partitions
Managing partitions
Managing File Systems
Mounting devices
Managing Virtual Memory
This article mainly describes the
Every boot to start mycat, online to see a lot of is using shell script to realize mycat boot, and then see a method, directly modify the system files to achieve, has been practiced, effective methods.1. Modify the script file
Yum Basics? ? Using RPM to install, uninstall software or services in Linux often encounter the dependence of RPM package, and we install software A, the hint depends on software B, when installing software B will be prompted to rely on a series of
1, Gpl,gnu, free software?2, how to choose the Linux operating system version?3. How to partition Linux system?4, Linux 20 commands and role?5. Linux Run level?6, 32-bit and 64-bit system differences and how to choose?7. What is the PATH environment
Mtime "Modified Time" Documents/ modified time of the catalog
CTime "Property modification Time" modified time of the properties of the file directory
Atime "Access Time" File/ access time of the directory
Stat 123.txtFile: ' 123.txt
Features of the Linux directory structure1, hanging upside down the tree2,/root is the vertex of the Linux directory3. Directory and disk partitions are not associated4,/root directory may correspond to different partitions or disks
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