Progra ~ 1 meaning, grep-V grep

Source: Internet
Author: User

C: // progra ~ 1 // tugzip // tugzip.exe ???? Representative: C: // program files // tugzip // tugzip.exe

Answer:
This is a normal phenomenon. It is due to the habit of the DOS operating system. In general, the file name in DOS is 8 characters long and 3 extension characters long.
If the number is less than or equal to 8, the full name is displayed. However, if the number of file names is greater than 8 characters, only the first 6 are displayed, followed by a "~" Symbol,
The number "1" indicates that the letter "M" is omitted. Of course, there are actually more than "Files ",
It is not recognized because it is separated by spaces.

//////////////////////////////////////// ////////////////////

 

Grep-V grep,-V: All lines but those matching are printed

Grep without grep
Example: Check if a process is not in
PS-Ef | grep httpd
Result:
Nobody 14528 571 0 July 29/usr/local/Apache/bin/httpd
CMCS 17100 16884 0 22:06:10 pts/0 grep httpd

If PS-Ef | grep httpd | grep-V grep
Result:
Nobody 14528 571 0 July 29/usr/local/Apache/bin/httpd

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.