2013-3-1
Export PS1 = "\ $? [\ U @ \ H \ W] \ $"
Export PS1 = "\ [\ e [31m \] \ $? \ [\ E [32m \] [\ U @ \ H \ W] \ $ \ [\ e [M \]"
Readelf-L | grep InterpreterThis command can be used to view which dynamic linker is used for binary files.
An
Reference: it is common to use the tar command in Linux to package and compress files. If you want to break it into multiple files, you can split the final compressed package according to the specified size. This requires the split command.
Example:
It is called by the exec system. In fact, in Linux, there is no exec () function form. Exec refers to a group of functions, with a total of six functions:
# Include Int execl (const char * path, const char * Arg ,...);Int execlp (const
Source command usage:
Source filename
Purpose: read and execute the command in filename in the current bash environment.
Note: This command is usually replaced by the "." command.
For example, source. bash_rc and. bash_rc are equivalent.
The. bash_profile file is in the root directory of the account.
Edit this file.
Alias L. = 'LS-D. [A-Za-Z] *-- Color = tty'Alias LL = 'LS-l -- color = tty'Alias ls = 'ls-- Color = tty'Alias mmsdb1 = 'mysql-a-hmmsdb1-umms-P! ^ # AccessMmsdb'Alias
In Linux, we often use USB flash drives and SD card mounting. It is very difficult to manually mount or detach each time. We can use the following methods to automatically mount or detach USB flash drives and SD cards.
1. Add the following
I have been in touch with embedded Linux for nearly three years. I have been a Linux veteran since I started my step-by-step exploration. Many colleagues or friends around me are still learning Linux, and I am always confused, to record your
Source: Linux debugging tool GDB demo analysis-ckhitler log Lupa open-source
CommunityHttp://home.lupaworld.com/home-space-uid-56821-do-blog-id-233717.html1) GDB debugging information 1) is a command line debugger that can be used to fully control
Set DNS Server/Etc/resolv. conf; Generated by/sbin/dhclient-scriptNameserver 210.82.5.1Nameserver 219.141.136.10
Set IP Address:Modify the ifcfg-eth0 under the/etc/sysconfig/network-scripts/directory, ifcfg-eth1... fileFor
1. Common Parameters of the grep command(1)-a num# Grep-A 1 aa test.txtDescription: searches for AA-style rows from test.txt and displays the last row of the row.(2)-B num# Grep-B 1 aa test.txtDescription: searches for AA-style rows from test.txt
To remotely connect to Ubuntu Linux from windows, you can use either of the following methods:1. SSH2. Remote Desktop
The remote desktop mode is used here, mainly VNC.
The main steps are as follows:1. Install vnc4server In ubuntu.
The first two solutions are self-built.
Http://www.enet.com.cn/article/2010/0512/A20100512651960.shtml
By default, Windows 7 cannot normally access Shared Folders on nas or Samba servers. The reason is that, starting from Vista, Microsoft only uses
You can use the ps command. It displays information about the currently running process, including the PID of the process. Both Linux and UNIX support the ps command to display information about all running processes. The ps command can provide a
1. Pipeline overview and related API applications
1.1 key concepts related to pipelines
As one of the first Unix IPC formats supported by Linux, pipelines have the following features:
The pipeline is half-duplex, and data can only flow in one
For uClinux, it is designed for a processor without MMU and cannot use the virtual memory management technology of the processor. UClinux still uses paging Management of memory, and the system paging the actual memory at startup. The program is
2012-11-9
Chmod-v a + wt $ LFS/sources
Chmod A + WTIs to set the directory or file attribute to 1777, so that anyone can read and write it.
When a directory is set to "stick bit" (with chmod A + T ),1. Delete super Administrator2. Delete the owner
Use the root user to create a new user, useradd-M bxy, and then set the password for bxy: passwd bxy press enter, and then enter the password twice. Done.
The/etc/skel directory is very useful.
The file/etc/profile is under the control of the system
Linux users will certainly not be unfamiliar with the content discussed in this article. In Linux, partitions in Windows file systems are usually not automatically mounted on startup. In ubuntu, You need to click the Windows partition to mount the
I don't want to start with how to install and use Linux. It doesn't mean anything to a programmer. There is always a Linux suitable for you!I also hope that I can show you the process of learning Linux. I hope that the crowdsourced security testing
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