PHP surface question four--linux part (advanced part) iv. Linux Section 1. Please explain the use of the following 10 shell commands (Sina Technology Department)Top, PS, MV, find, DF, Cat, chmod, CHGRP, grep, WCTop: This command provides real-time
1.CP (copy)CP [-ADFILPRSU] source file destination fileParameter explanation:-I: Ask before overwriting the file;-A: The properties of the file are not changed after copying (including permissions, owners and groups);-R: Continuous recursive
Concept One: Linux-ext2 file systemExt2 is partitioned into multiple blocks (block group) and a boot sector (boot sector), with Superblock, File system Description, block bitmap, INode in each block Bitmap, INode table, data block six parts.Boot
Comparison of special directories:. Represents this Layer directory.. Represents a previous level directory-Represents a previous working directory~ Represents the home folder where the current user's identity resides~account represents the home
1. Copying files from a remote host to a localSCP Source File destination folderEG:SCP [Email Protected]:/home/liushizhen/software_sources/jdk-8u92-linux-x64.tar.gz/home/zhoushuo/work/software /2. Install the Deb packagesudo dpkg-i virtualbox-5.0_5.0
1. Manipulating Directory Commands CD directory name to switch or enter the directory; For example, Cd/var switches to a directory named Var under the root directory; CD Mydir Enter Mydir directory under current directory CD-
Linux Terminal CommandsFirst, the file directory class1.Build directory: mkdirDirectory Name2.Delete Empty directory: RmDirDirectory Name3.Delete subdirectories unconditionally: RM-RFDirectory Name4.Change current directory: CDDirectory Name (Go to
Excerpt from the watercress: a shop in the greenhouseOSX uses the Unix file system, all the files are hanging in the directory/below, so there is no need to have the concept of the drive letter under Windows.The hard drives you see on the desktop
The most common Linux commands and toolsDirectory Next document: CD nameReturn to the previous directory: CD.To view and edit a text file:? View files: More, tail? Edit File: VIsuch as scripting. SHVI shell.shTo view system network status:? View
1. View File inodeStat 1.txtWhat the hell is a 2.inode? The minimum storage unit for a hard disk is called "Sector" (sector), and a sector size is Five bytesThe operating system reads the hard disk, not a sector to read a sector, God, it is too
This is just a list of the more frequently used and can be viewed in more detail through the man command or the command Help.FILE-related1: "ls command" ls [option] ... [File] ...
-A all lists all files including hidden files [eg ls-a/home]
============= mount and login command ======================================== reprintMount: Mount command. For example, mount the optical drive Mount/dev/cdrom/mnt/cdrom, you can view the contents under the directory/mnt/cdrom, you want to exit the
============= mount and Login commands ========================================Mount: Mount command. For example, mount the optical drive Mount/dev/cdrom/mnt/cdrom, you can view the contents under the directory/mnt/cdrom, you want to exit the disc,
Systemctl--user Enable PulseAudioDescription: The system does not have sound after installation and can be opened with this command.Ifconfig eth0 192.168.118.1Note: Set the IP address for the network card.Apt-get Install UgetApt-get Install
1. cdCD ~,CD: Go back to your home folder; CD: the current layer; CD-: Go back to that directory.2. PWD Displays the directory where you are currently-P: The tender does not display the data of the connection file, but instead displays the correct
Copying files, directories1. Use CP (copy) command to copy files or directoriesCP source file (folder) destination file (folder)Common parameters:-R recursively replicates entire directory tree (for copying folders)-V Show More information2. Use the
First, LSls most commonly used parameters are three:-a-l-F1,ls-aFiles on Linux are treated as hidden files by the system, and only the LS command is not visible to them, and the hidden file is displayed with Ls-a in addition to the generic file name.
1.CD into the folder2,CD. go to current folder3. cd. go to previous folder4.mkdir Create folder5.ll View the detailed catalogue contents6.ls View all directory names7,tar–zxf to extract file name Extract Files8./install installation files9.DF View
This article tags: getting started with Linux Linux system Linux file system Linux Linux Common command internet TalkLinux system information is stored in a file, and the file is similar to ordinary official documents. Each file
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.