Linux, we can use Apt-get to install Fortune, which is a more interesting featureAfter entering fortune, terminal will output a famous saying, verse, or some interesting words:By default, fortune only displays English content, but we can also
Date system TimeClock/hwclock Hardware ClockCal CalendarDatePrint or set the system date or time to display or set the system time in a given format+%a Show Week+%a full Display week+%b Show Month+%b full Display month+%c E.g.,thu Mar 3 23:05:25 20
One is 192.168.10.131 and the other is 192.168.10.135, now to achieve two requirements:One, is 131 password-free login 135, and SCP rsync password-free copySecond, is using the SECURECRT tool to log in 135, can only use the secret key to login, can
#数组的声明与遍历Animals= ("A Dog" "A Cat" "A Fish")#wrong waysFor i in ${animals[*]}; do echo $i; DoneFor i in ${animals[@]}; do echo $i; DoneFor i in "${animals[*]}"; do echo $i; Done #this is what we want correctFor i in "${animals[@]}"; do echo $i; Done
System call: The user state process to the kernel, to implement the user-state process calls the hardware Device function or interrupt;Advantages: Making programming easier, freeing users from learning the low-level programming features of hardware
Before the book over, but for a long time not to forget the same =, so decided to take it back again, by the way to share and record. The book is divided into five parts, 26 chapters, about 780 pages, more content, may be updated longer.The first
Linux kernel link list:A linked list typically consists of two fields: a data field and a pointer field.struct list_head{struct List_head *next,*prev;};A wonderful set of linked list data structures is implemented in include/linux/list.h.The
When a disk cannot be written, the following are generally possible:
File system Read-only
Disk is full
I-node is out of use
First, a read-only file system is encounteredA file system that is automatically set to read-only may
Restart Xwindows:alt+ctrl+backspace
Inter-terminal switching: Ctrl+alt+f1~f6 tty1-6, F7 for Xwindows
Root prompt: # Normal User: $
Language of environment variables: $LANG, $LANG =en_us
Man in code meaning: Man # command, man's
I. Hardware boot boot1. Power on2. BIOS(Initialize hardware to find boot media)3. MBR Total 512bytesMBR contains:1.446bytes:bootloader (GRUB)2.64bytes:partition (partition Table)3.2bytes:magic Number (checksum)Two. Grub Boot boot1.
I found some information on the Internet, there are many tools to generate the password, I used one of them.I use the city CentOS system, with the source of Epel, direct yum install Pwgen installation of this toolThen
Linux
Linux under All files, each file permissions are the main, belong to the group, the other three identities, each identity has read, write, excute settings
Account configuration file:/etc/passwd
Password configuration
The operation of Gpio in an embedded device is the most basic operation. The general practice is to write a separate driver, and most of the examples on the web are like this. In fact, there is a generic Gpio operating interface under Linux, that is,
The Eric integrated development environment was installed under CENTOS7.The first time you create a project, you should start by creating a dialog box: Switch to the Forms tab (second on the left) in Projectviewer on the left, and right-click the
Source: Simple to take lattice font program under LinuxLinux operating system for the simple graphics development, often use the font-fetching software, but Linux is not as small as Windows tools available, we do not want to take the font and
In my inside has introduced the Linux under C's process, the thread interface, here does not do too much elaboration.Multi-processMany processes here use the traditional multi-process model, whenever a client sends a connection to create a process
One thread can call Pthread_cancel to terminate another thread in the same process, but it is worth emphasizing that, between threads in the same process, pthread_cancel terminates the signal to another Cheng. The system does not close the canceled
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