Second, file-level operations1. View File Size: Ls-lah2. View the number of files: Wc-l file name3. Forcibly Delete folder: Rm-r folder4. View file full path: pwd5. View file Size: ll file path-h or ls-l file path-H6. Take the first few lines of a
echo "ls *.$2 | While read File;do Grep-n $ $file | while read out; Do echo $file, $out;d one; Done ">search.shSearch: sh search.sh get_longest_overlap CYou can search for files containing get_longest_overlap content and line numbers in the C file
(where/etc/inittab is a very important document, worth scrutiny http://www.2cto.com/os/201108/98426.html) The 446-byte content at the beginning is specified as "Master Boot Record" (MBR), followed by 4 16-byte "Disk partition Table" (DPT), and
Linux logs are an important basis and means of troubleshootingThe most core log file /var/log/messagesThe messages has an automatic cut log function that archives by date and saves only a specified number of logs. All of these features are
UDP Broadcast CommunicationUnicast: Single-to- one , TCP and UDP can be donebroadcast : Only UDP is complete. The sender sends only one packet when broadcasting, but the switch on the network forwards the broadcast packet to all ports by default.
NFS (Network File system), with NFS can be mounted on the virtual machine directory on the Development Board, so that when the virtual machine Linux cross-compilation will not need to use the SD card to copy the compiled executable files to the
Before installation, you can access the official website portal to download the latest source package (Centos/redhat).The following tools are also required for installation:Yum-y install gcc gcc-c++ autoconf automakeModule dependencies:Yum-y install
Executable program can not find the dynamic shared library to link, this is Linux above compile and run the program is very easy to encounter problems, next we want to explore how to set up the program to find dynamic shared library behavior.The
Just solved 530 of the problem, and came to a linux-500 oops:cannot change directory:/root, what is the reason, the Internet to check a bit, the main reason is that the system enabled SELinux settings. When the system is installed, the default
[Email protected]:~# firefox Maximum number of clients reachedmaximum number of clients reachederror:cannot open display: : 0.0If Firefox does not come up, error "Maximum number of clients reachedmaximum number of clients Reachederror:cannot open
Modify hosts in Ubuntu and windowsFirst, provide a hosts file
Http://pan.baidu.com/s/1jGMptxOUbuntu
After the file is downloaded, open it with gedit, copy all the content in it, open the terminal, and enter`Sudo gedit/etc/hosts restartAfter
Learn how to build phpmyadmin in linux
PhpMyAdmin is a tool that is easy for database softcore users to use, update, and manage mysql. It is more intuitive and convenient to manage SQL statements in the web UI mode than to log on to the database
Share and present your code on GitHub
Recently, I love Web programming, so I searched for various codes and found the GitHub website. If you know Google Code, you will know what GitHub is doing. However, GitHub is mainly used as a Git-based
On GitHub, how does one fork a project contribute code and synchronize the modifications made by the original author?
As an IT person, learning through GitHub is the fastest way to grow. We can browse others' excellent code. However, it is wise to
How to manage startup applications in Ubuntu
Manage boot application in Ubuntu
Have you ever considered managing startup applications in Ubuntu? If your Ubuntu system starts very slowly at startup, you need to consider this issue.
Each time you
Intuitive Git common command charts
Git is a powerful distributed version control system. It not only applies to managing the source code of large open-source software, but also has many advantages in managing private documents and source code.
Git/Github usage notes
Because it was previously based on an open-source project on Github, we put it on Github. Although we have no experience in using it, we can still solve it with a grinder.
The following are the specific steps for using
Q & A on the Linux Firewall 'iptables'
Nishita Agarwal, A Tecmint user, will share her interview experience with a company she has just experienced (Pune, a private company in India. She was asked many different questions during the interview, but
Linux OOM killer Mechanism
The Out Of Memory (OOM) Killer function in Linux is a final means to ensure that the system Memory is sufficient. After the system Memory or swap zone is exhausted, use an algorithm to determine the process that occupies
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