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
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,
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
① 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-
/********************************************************************** * 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
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
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
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
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 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
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
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="
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": "^ (.. [
/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
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
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
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
I remember I wrote an article in drops called linux common vulnerability exploitation technical practices, now you can also find
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