Linux View a folder size

1.Linux View a folder size: Du-sh/home/yangkundu -sh /home/yangkun/164M /home/yangkun/2.Linux View the size of all files in a directory: Du-h/home/yangkundu -h/home/yangkun/4. 0K /home/yangkun/.config/abrt8. 0K /home/ yangkun/. config8. 0K

Basic Linux Exercises

1. List Linux distributions by series and describe the connection and difference between different distributions.2, description of the use of the command on the Linux system format, details Ifconfig, Echo, TTY, STARTX, export, pwd, history, shutdown,

Linux nginx or tomcat log split

Nginx log is not automatic segmentation according to the date, the feeling will be a problem, so I intend to split the log, in the Internet to find the next, feel very troublesome, to split the log, and then also from the Kai PID, should be good use

Linux Command Summary

① finding and deleting files with the Find commandTo create test data with a script:[[email protected] ceshidata]# for n in ' seq 10 '> Do> date-s "12/0$N/16"> Touch access_www_ ' (date +%f) '. Log> Done[email protected] ceshidata]# LLTotal dosage 0-

Automatically starts after the Linux process exits

/********************************************************************** * Automatic startup after Linux process exits * Description: * In the system, we sometimes want the daemon to be able to run all the time, even if the program is wrong, * also

Several ways to empty Linux files

1. How to use redirection[email protected] ~]# du-4. 0K test.txt~]# > test.txt~ ]# du-0 test.txt2. Use the true command to redirect the empty file[email protected] ~]# du-4. 0K true >~]# du-0 Test.txt3. Use CAT/CP/DD command

Linux Run Level

Minimal install default run level is 3# RunLevel View the current operating level of the system# Cat/etc/inittab Viewing the configuration file at run level650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/62/wKiom1hLliKQXMohAACGBg2qT2Q38

Svnserve of SVN configuration under Linux

I. ConfigurationBuild the Repository DirectoryMkdir-p/OPT/SVNCD/SVN installation directory/bin./svnserve-d-R/OPT/SVNTwo. Build the RepositoryCreate a new Subversion projectSvnadmin Create/opt/svn/project1Three. Access Rights settingsConfiguration

Linux add your own startup scripts

#!/bin/sh#chkconfig: 2345 80 05#description: Zwy#processname: ZwyStart () {echo "Zwy service is starting"echo "Start" >>/root/zwy.txt}Stop () {echo "Zwy service is Stop"echo "Stop" >>/root/zwy.txt}Case $

Linux compression and decompression commands Daquan

bz2

Tar commandUnpacking: Tar zxvf Filename.tarPackage: Tar czvf filename.tar DirName GZ commandDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf

Linux command "second article"

1, how to filter out the known current directory in the Oldboy of all the first level directory (hint: Do not include Oldboy directory under the directory of subdirectories and hidden directories, that is, only a primary directory).^: With what

-readn function implementation of Linux network programming

Readn function function: In the network programming reading data, usually will need to use a read the specified byte to return the function, the Linux system call did not give, need to own encapsulation.READN Implementation code:intREADN

"Linux Basics" 15, LVM

I. Overview of LVM1. Introduction to LVMlvm:logical Volume Manager is a logical volume manager provided by the kernel that allows the user to dynamically resize the file system . LVM provides a logical storage device that users no longer care about

Linux Samba Server Configuration

The Linux system already has Samba installed by default, but the Samba service is not installed:1, first check the installation: Rpm-qa|grep Samba650) this.width=650; "src=" Http://images.cnitblog.com/i/18055/201406/190944406763234.png "style="

Linux Deepin under Sublimes configuration g++ OpenGL

Reference: http://blog.csdn.net/u010129448/article/details/47754623Ubuntu under Gnome just change the code in deepin-terminal to Gnome terminal.g++{ "shell_cmd": "g++ ' ${file} '-O ' ${file_path}/${file_base_name} '", "File_regex": "^ (.. [

Linux command: Inittab chkconfig

/sbin/init: (/etc/inittab)Id:3:initdefault:id: Identifier 3: Run level Initdefault: Set as default run levelAction: ActionsInitdefault: Setting the default Run levelSysinit: System InitializationWait: Waiting level switch completeRespawn: Once the

Record the strange operation of Linux once

1 scenesDownload a red Hat ISO file on the intranet todaywget Http://www.cmdschool.org/rhel-server-5.2-x86_64/rhel-5.2-server-x86_64-dvd.isoResults downloaded to 68% error, the download program has a separate file, detailed below (note 6th and 16

Chapter 12th Linux Disk Management-LVM (2)

Yum Install lvm2-2.02.72-8.el6_0.4.x86_641. Convert the newly created two partition/dev/sdb1/dev/sdb2 into physical volume, mainly by adding LVM attribute information and dividing PE storage unit.Pvcreate/dev/sdb1/dev/sdb2PVsPvdisplay2. Create

Linux Installation Xwindow graphical interface (reprint)

http://jingyan.baidu.com/article/7f766daf42ce984100e1d045.html1. Check that the Linux system is networked.2. Execution of commandsYum-y Groupinstall Desktop3. When the above command is finished, execute this commandYum-y groupinstall "X window

Common vulnerability exploitation techniques in Linux (Training ppt + instance + exp), pptexp

Common vulnerability exploitation techniques in Linux (Training ppt + instance + exp), pptexp   I remember I wrote an article in drops called linux common vulnerability exploitation technical practices, now you can also find

Total Pages: 5467 1 .... 4952 4953 4954 4955 4956 .... 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.