5 Linux File related commands

CP:CP src[...] Dst SRC is a file SRC is the directory prompt MV:MV src[...] Dst RM:RM [file| DIR] Nano:nano FILENAME WC:WC [option] ... [FILE] ... -C: Number of bytes in the statistics file -L:

(004) Linux boot-up

Fundamentals of the ten-year OPS series-LinuxZeng LinContact: [Email protected]Website: www.jplatformx.comCopyright: Please do not reprint the article without permission First, IntroductionWhile the Linux boot is introduced here, some operations

Linux System Mount Data disk

Applicable system: Linux (Redhat, Centos,debian,ubuntu)* The Linux cloud Server data disk is not partitioned and formatted, and can be partitioned and formatted according to the following steps.The following operation will divide the data disk into

Dracut of Linux Services

[Email protected] ~]# Rpm-qf/var/log/dracut.logDracut-004-335.el6.noarch[Email protected] ~]# RPM-QL Dracut|more/etc/dracut.conf/etc/dracut.conf.d/etc/logrotate.d/dracut/sbin/dracut/sbin/lsinitrd/sbin/mkinitrdLSINITRD shows the contents of an

Linux File and directory management

A: the catalogue has1:CD Switching directoriesCd/tmp2:pwd printing the current working directoryPwd3:mkdir Create a new directoryMkdir/tmp/newdirIf you want to create a new, particularly deep directory, the-p parameter may be used.4:rmdir Deleting a

Linux forgot Rootpassword

We often encounter the situation of forgetting Rootpassword, the following is the solution,This method uses the vast majority of Linux distributions:1. First Enter GRUB2. At the entrance where editing is required, press E to increase after quiteInit=

Linux Source code reading note Find_entry Analysis

Buffer_head static struct * find_entry (struct m_inode * dir, const char * name, int namelen, struct dir_entry * * Res_dir)Find_entry is a more puzzling function in the Linux file system. Let's analyze it below.Its first parameter is the

Some shortcuts used by Linux

CTRL + C Cancel commandCTRL + Z Pause commandCTRL + a cursor to the beginningCtrl+e cursor to end of lineCtrl+u Delete all characters before the cursorCtrl+k Delete all characters after cursorCtrl+l Clear ScreenCtrl+d Exit login equals exitCtrl+s

Number of Linux semaphores

Application of Sem_init(1) The semaphore is created with the Sem_init function, the following is its description: #include int sem_init (sem_t *sem, int pshared, unsigned int value);The function is to initialize the semaphore specified by the SEM,

Installing Tomcat under Linux

Tomcat is a free open source Serlvet container, a core project of the Apache Foundation's Jakarta Project, developed by Apache,sun and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP specifications are

Linux boot-up modification

1. Automatically run the program when booting upAfter Linux is loaded, it initializes hardware and device drivers and then runs the first process init. Init continues the boot process based on the configuration file, starting other processes.

Linux/windows boundary penetration Artifact---reprocks (rebound agent)

In the process of infiltration, you will always encounter the following problems:I took a windows/linux, but in the intranet, and can not mention the right, my goal is the network of other machines, how to do?Of course for Windows, there is Htran

Tomcat installation in Linux and Linuxtomcat Installation

Tomcat installation in Linux and Linuxtomcat Installation --Download apache-tomcat-6.0.33.zip -- Upload the file to the/www directory to get:/www/tomcat-weiduan -- Decompress and rename tomcat-weiduan. Cd/www/tomcat-weiduan/bin/

Ubuntu tour-adjusting the resolution of the extended Screen

Ubuntu tour-adjusting the resolution of the extended Screen Open terminal Input xrandr   Obtain the following information: Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192LVDS connected primary 1366x768+1024+0 (normal left

RHEL6.5 replace local YUM Source

RHEL6.5 replace local YUM Source Introduction: Because RHEL's yum online update is charged, it cannot be used without registration, that is, it cannot install software online. In this case, do you want to use the RHEL system and yum source to

Apache url rewrite notes, apacherewrite

Apache url rewrite notes, apacherewrite What is mod_rewrite? Mod_rewrite is a module of apache that allows the server to modify the request url. The inbound url will be compared with a series of rule. These rule contains a regular expression to

Linuxshell commands and execution scripts

Linuxshell commands and execution scripts Cut all subfolders in the current folder to the current folder For dir in $ (ls)Do# Echo $ dirIf [-d $ dir-a "$ (ls-A $ dir)"]; thenMv./$ dir /*.FiDoneNote: 1. There must be spaces between each component

Signal-driven I/O and signal-driven I/O

Signal-driven I/O and signal-driven I/O (1) client1, written based on SIGIO:1 # include 2 # include 3 # include 4 # include 5 # include 6 7 # include 8 # include 9 # include 10 11 # define BUFSIZE 12812 13 static int fdr; 14 static int fdw; 1

Debugging Apache performance in CentOS

Debugging Apache performance in CentOS View the number of concurrent Apache requests and their TCP connection status: Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}' Sample returned results:LAST_ACK 5SYN_RECV 30ESTABLISHED 15

Install LinuxRAR on Centos

Install LinuxRAR on Centos In Windows, we usually compress files more easily or use RAR. By default, Linux does not support RAR compression and decompression. in Linux, RAR software [LinuxRAR] is also free of charge! Run the following command to

Total Pages: 5467 1 .... 5055 5056 5057 5058 5059 .... 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.