Linux Basic Concepts-----File types

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 "

Packaging and compression under Linux

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;.

Linux Partial system commands

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 Users and Groups (2) Useradd

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]

Linux is a very useful command

"Determining whether a user exists, or new if not present"user= ' grep ' ^admin: '/etc/passwd 'If [-Z ' $user '];thenGroupadd Adminuseradd-d/home/admin-s/bin/bash-g Admin Adminecho ' 123456 ' | passwd--stdin Adminecho ' 123456 ' | passwd--stdin

Use the echo command to output a string with color and font formatting under Linux

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

Copy and synchronize file commands between Linux machines

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

Linux under *.tar.gz file extract command Find command

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:

Linux (CentOs6.4) Install Git

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

Linux Small Knowledge Translator-compiler and interpreter

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

"In-depth understanding of the Linux kernel" first chapter introduction notes

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

30, Linux common commands (ii)

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

Do you understand these commands for learning Linux?

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 Bluetooth Kernel Analysis

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 (),

The file name of the hardware device in Linux

"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 Linux

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

Learning notes for new Linux beginners

1, ln command example: /bin/ln-snf/var/www/html/test/var/www/test2. CP Command Example: cp-r address 1 Address 23. RM Command Example: RM-RF address4. VI Command5. Chkconfig Command Example: chkconfig httpd on (boot from Start httpd

Packaging and compression in linux

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

Xshell connects to CentOS6.5iptables or ls to output garbled characters

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!

Iopp, a substitute for LinuxIO iotop

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

Total Pages: 5467 1 .... 3748 3749 3750 3751 3752 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.