Normal file: Non-directory or other type of file (-)Directory file (d): Linux directory is also a file, but the directory file contains the name of other files or directories and the corresponding Indoe numberIndoe Wikipedia:Inoderefers to the many "
LinuxThe format of the two compressed package files that are common in. Tar,. GZand the. tar.gz. . Tar just adds filesSimple topacking, the size of the file is nothave aChange, which means. Tarfile is just a package that is not compressed;.
See some system commands on the Internet, put a note# uname-a # View kernel/Os/cpu info # head-n 1/etc/issue # view OS version # Cat/proc/cpuinfo # View CPU Info # hostname # View Meter Computer name # LSPCI-TV
Linux under useradd command detailed
2. UseThe Useradd command is used to establish the user account and create the user's starting directory, with the privilege being Superuser2. FormatUseradd [-D home] [-s Shell] [-c comment] [-M [--template]
echo Output Color font: Format Example:Echo–e "\033[31m is changed font color character \033[0m"where \033[31m began,* where (3 of the start control foreground color) 1 is red, this value is replaced with 2 is green,3 Brown,4 Blue,5 Purple,6 bluish
1 different machine copy files
SCP file Login user @ Machine ip:/Directory/Sub-directory
SCP filename [email protected]10.20. 130.202:/home/test/
2 file [clip] Sync rsync
Question [NET friend proposed]
How do I write a command of a
1. Compress the command:Command format: TAR-ZCVF compressed file name. tar.gz Compressed file nameYou can switch to the current directory first. Both the compressed file name and the compressed file name can be added to the path.2. Unzip the command:
Before installing, let's look at Git and ask: why should I use Git? SVN is not very good, why do I have to change?Q 1: Why do I need a version control system?Versioning is a system that records changes in the content of several files to enable
This time talk about "compilers and interpreters".In programming languages, there are compiled languages represented by C and interpreted languages, which are represented by Perl. Either way, the program is recorded in a form that human beings can
1. Commercial UNIX operating systems include:-At and T company developed (System V Release 4) SVR4,-The 4.4BSD, published by UC Berkeley-Dec Corporation (now HP) Digital Unix-Aix of IBM Corporation-HP-UX-Sun's Solaris-apple company's Mac OS XAll
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
1. Display various terminals:/dev/tty# Virtual Terminal,/dev/pts# pseudo terminal, Telnet virtual machine/dev/ttys# serial terminal, usually the ultimate hacker in the movie, does not need the video card to be able to display, namely is relative
Linux provides support for Bluetooth, and the core code is located in Net/bluetooth1. InitializationMainly by Subsys_initcall call function Bt_init () to completeBt_init (), Bt_sysfs_init (), Sock_register (&bt_sock_family_ops), Hci_sock_init (),
"All Documents" is a very important idea in the Unix/linux system.In a Linux system, each device is treated as a file, specifically to the hardware. The following is a list of the file names of several common devices in a Linux system.
BG and FG commands for LinuxAs we all know, on Windows, we either have a program running in the background as a service, or stop the service. Instead of allowing the program to switch between foreground and background. Linux provides FG and BG
The format of the two compressed package files in linuxlinuxis .tar.gzand .tar.gz .. The Upload file is the compressed file obtained after a file is compressed using gzip.
The commonly used commands for file packaging and compression are tar and
Today, Xshell is used to connect to CentOS6.5, when the terminal code is set to: Unicode (UTF-8), the output of the command to execute service iptables restart will be garbled; when the encoding is set to: default language, ls output will be garbled!
Iotop is undoubtedly a good tool for linux I/O detection. However, many of my friends have abandoned the kernel version and Python version. I found iopp by accident and wrote it in c. It works with iotop, nice! Share with you
The installation method
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