Common commands:---------------------------------------------------------------Date Time Date +%y 2-bit m-month after year YBC Calculator scale=3 shows the 3 digits of the decimal point 2^5 2 of the 5-time SquareCal Calendar Cal 2015 calendar Cal 4 2
1.ls–listLS enumerates the contents (files or folders) of the current working directory, just as you open a folder in the GUI to see what's inside.2.mkdir–make Directorymkdir for creating a new directory3.pwd–print Working DirectoryPWD Displays the
directory structure:1)/Bin directory: Bin is the abbreviation for binary binary in English, which holds system commands2)/Dev directory: Dev is an abbreviation for English device devices that contains special files for all the devices supported by
1 Common commands:2 Exit command: ESC after input: q!3 ls dirname does not go into folder view4LS-LH View file size in M5 ll view file size in K6 7 CD back to the user's root directory8 rm a.txt Deleting files9RM-RF dirname Delete FolderTen vi
Linux No. 02 Day 1. Linux disk and file system VFS ———— virtual file System DF Command ———— View mounted partition DF Partition name du command ———— view folder size du folder name ln command ———— Symbolic link fdisk command ———— partition command
Linux Basics Red Hat Linux installation and service Basics Off iptables firewall: chkconfig iptables offTurn off selinux: Open /etc/sysconfig/selinux file Modify "selinux=disabled" Linux boot process:1. boot Blos self test2.MBR boot MBR (master
System Information: CentOS 64-bit.
A picture of command prompt and command line
Some practical small commands
mkdir (make directory, create directory), LS (list, list the contents of the current directory), RM (remove,
1, sagane@sagane-thinkpad-edge:~$ Mii-tool, when the network is not available, use this command to see if the physical link is normal.
2, ssagane@sagane-thinkpad-edge:~$ ssh root@192.168.1.43, With the root user login IP address 192.168.1.43
Directory Operations:
RM-RF Mydir/* Delete Mydir directory * *
CD mydir/* Enter Mydir directory * *
CD-*/* Back to the previous directory */
Cd.. /* Back to the parent directory, with space in the middle * *
CD ~//* Back to root directory * *
MV
Say Linux under the ImageMagick and Jmagick installation process, download imagemagick-6.2.6-8.tar.gz,jmagick-6.2.6-0.tar.gz and I downloaded the jpegsrc.v6b.tar.gz, LIBPNG-1.2.10.TAR.BZ2 and tiff-3.8.2.tar.gz, user support Jpg,png and TIFF format
Tar
-C: Set up compressed files-X: Decompression-T: viewing content-R: Appending files to the end of a compressed archive-U: Updating files in original compressed package
These five are independent commands, compression decompression to use one of
Directory Operations:RM-RF Mydir/* Delete Mydir directory * *mkdir dirname/* Create directory named DirName * *CD mydir/* Enter Mydir directory * *CD-*/* Back to the previous directory */Cd.. /* Back to the parent directory, with space in the middle
Some common compressed files:
*. Z
Files compressed by Compress program
*.bz2
Files compressed by bzip2 program
*.gz
GZIP Program Compressed Files
*.tar
The TAR program is packed with
1.# represents a permission user (such as: root), and $ represents a normal userpower-on prompt Ogin: Enter user namePassword: Enter password user is the system registered user successful landing, you can enter the corresponding user
Network most comprehensive Linux compression and decompression commands DaquanDirectory Technology Article July 28, 2016
Compression and decompression commands, Linux is more commonly used in the command. Before the use of compression and
Compression Decompression Command Introduction. GZ compression to gzip files. bz2 compression to bzip2 file. tar package files, merging multiple files into one directory. tar.gz first into a tar package, then compressed to gzip file. tar.bz2 first
20. Create a new user forget to use the-M option, will not create a new user's directory in the home directory, the simplest way is to use Userdel Delete new user re-create, no directory Although veteran can operate, but the time is long, you do not
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.