Basic commands and directory structure directories in Linux
First, the Linux basic directory structure
II. basic Commands
Third, browse the directory
Iv. Intermediate Command
Five, change the password
VI. environment
Linux Shutdown and Boot#shutdown [Options] TimeOption:-C: Cancel the previous shutdown command-H: Shutdown-r: RestartTime: Now to perform six-point restart at 06:00 a.m.#shutdown-R &: 6 o'clock in the morning reboot, background execution, press
&. Create a file under command 1.txt 2.txt 3.txt&. Create a file under command 1-100.txtTouch command: Create an empty file if there is time stamp information such as the access time of the file AtimeCommon commands:uname command: View the
Basic command:DateDate [Options] ... [+ format]: Time display%d%F%TDate [MMDDHHMM[[CC]YY][.SS]]: Time settingMM: MonthDD: what dateHH: HoursMM: MinutesYY: two-digit yearCCYY: four-bit year. SS: SecondsTwo types of clocks for Linux:System clock: The
http://blog.csdn.net/houmou/article/details/51020709 Problem Descriptionhttp://blog.csdn.net/houmou/article/details/51020709Recently, a new SSH client, found a lot of commands can not be used such as: LS, VI, CAT, ETC., hint:-bash:xx:no such file or
Shell IntroductionThe two concepts of command line and shell are often confusing, and on many informal occasions, these two nouns represent the same concept. In a strict sense, however, the command line refers to the interface for the user to enter
Basic command:Format: command [-options] [parameters]such as: ls-l/etc-rw-r--r--File type Owner Permissions group permissions other people permissions-:-BinaryCatalog DL LinkRWX: Read and write executionls: Show directory file-A All Files-L verbose
Linux file system features 1. The file name can use any character other than/, and the total length cannot exceed 255 characters. 2. Strictly case-sensitive
2.tty: Display terminal device files for current terminalsEg:/dev/ttys# (#号表示数字) serial
chmodFeatures: Set access permissions for filesThe format of the command permission value: user identifier +-= permission character+/-/=: Increase the scope of permissions, Cancel, give permission to the permissions represented by the code nameUser
When a matching file is processed using the-EXEC option of the Find command, the Find command passes all matching files to exec execution. However, some systems have a limit on the length of the command that can be passed to exec so that an overflow
One: Linux basic command:1. Find command finds files such as Find/-name hello to find the file under the name of hello in the root directory.2. grep command string matches such as grep "Lucy" *-r recursive lookup file containing "Lucy" string file3.
Beginners may feel inconvenience when they touch Linux, but there is no connection, there is a process of contact with new things, after you have used Linux for some time, you will gradually understand that Linux is as easy to master as Windows.Due
Shutdown and restartShut down
Shutdown–h now
Shutdown–h 45
Halt
Init 0
Restart
Shutdown–r Now "system would be reboot now."
Reboot
Init 6
Directory Management
Cd
LS (more with LL)
Mkdir
File Management
Python Basics:One1. Installation and installation of environmentInstalling a Linux system on a Windows system① Installing virtual machines VMware workstation--> Baidu See Tutorial (Virtual machine install Linux (ENTOS7 SSH is installed by
VMware Three network modes1, Bridge connectionVirtual machine directly connected to the external network, local area network. The host computer does not provide routing.2,natNetwork address translation, home network3,host onlyCan only deal with the
First, the basic Linux command1. ls 命令为查看当前目录的信息,常用参数 -l :查看文件详细信息, -a :查看当前目录所有文件,包括隐藏文件 .file。可连打 ls -al2. cd 全程change directory ,接受目录所为参数,只能接受相对目录,或者绝对目录。cd /home/user cd . 点代表当前目录,cd .. 代表上级目录,cd - 杠代表前一个目录,你从哪儿来就是那儿,cd ~
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
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.