The du command is one of the most commonly used commands for system operations and is designed to count file directory occupancy-a displays all file and directory sizes, recursive display--apparent-size shows the size of files and directories rather
1.ls Directory Enumeration (dir)Generally we write this:Linux Code Collection CodeLsEnumerating all the files in the current directory, if there are many files, it is very complicated. We can add keywords, for example we want to see all the files
1.ls Directory Enumeration (dir)Generally we write this:Linux Code Collection CodeLsEnumerating all the files in the current directory, if there are many files, it is very complicated. We can add keywords, for example we want to see all the files
Calculating the factorial of 10 using a scriptSimply explain:#!/bin/bash describes the Bash shell program that the shell uses. This is a very short sentence.For i in ' SEQ 1 10 ' can also be written for I in 1 2 3 4 5 6 7 8 9 10Single quotation
1, what is the environment variableAfter the user has successfully logged in, the shell is started, and some variables related to the user's working environment are defined2, view the Linux environment variables can use the command: envThe common
Querying the Linux kernel version#uname-R#uname-AQuerying Linux system releases#cat/etc/redhat_releaseQuery the specific version number of Linux#cat/proc/versionLinux Terminal clear command:#clearTo start or close the FTP service#service vsftpd
All devices in Linux are represented as a file under/dev, and various IDE devices are assigned a file consisting of an HD prefix, and for various SCSI devices, a file consisting of an SD prefix is assigned, for example:The primary disk on the IDE0
Description: This command counts the number of bytes, words, and lines in a given file. If the file name is not given, it is read from the standard input. The WC also gives the president count of all specified files. The word is the largest string
Today, I met a sighup question, and then I went over it again:Some signals are handled by default to "Terminate +core", where the core indicates that when the process terminates, a core file is produced in the current working directory of the
http://blog.csdn.net/pipisorry/article/details/41369821Installed Linux, and then use a USB stick to install Win7 (network installation should also),First in the Linux inside to make a win7 installation USB drive (under Windows with UltraISO
Linux Learning (3) Tools in linux
Generally, there is a printscreensysrq key on our keyboard. in windows, we can press this key to take a screenshot. It captures the entire screen. in linux, I tried it, you can also try to capture the full screen.
Linux LVM and linuxlvm
PV
Pvcreate/dev/sdan
Pvs # simple view ##
Pvdisplay/dev/sdan ### View Details ##
VG
Vgcreate name/dev/sdan
Vgdisplay name
Vgremove name
First pvmove/dev/sdan, then vgreduce name/dev/sdan, and finally
ContOS uses local cdrom as the yum Source
1. Mount CDROM
Refer to: CentOS7 use the mount command to mount CDROM
2. Check whether createrepo has been installed.
Command: rpm-qa | grep createrepo
If the ContOS disk is not installed, switch to
Rrdtool installation (centos6) modifies the word next to the O & M network Cacti Image
1. Download SoftwareWget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz2. Install the dependency package
1
yum install gcc libxml2-devel
Build TinyOS on Fedora10 and build tinyos on fedora10
Recently I have been studying wireless sensor networks, So I installed a Fedora10 Virtual Machine in VirtualBox and built a software environment for the TinyOS operating system in this Fedora10.
Shell Study Notes (2) Regular Expressions in shellThe difference between a wildcard and a regular expression is the native syntax supported by bash. A regular expression is a way to process strings. A regular expression must be supported by a
Tomcat memory overflow in linux
Sometimes there are many system programs, which may cause outofmemory,Permgen spaceMemory and other issues
First, monitor whether a stream is not closed, common such as inputstream and connection. It is best to
Getting started with Linux: Changing the default location of libvirt VM Images
Q: I use libvirt and virt-manager to create virtual machines on my Linux system. I noticed that the virtual machine image is located in the/var/lib/libvirt/images
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