"^ d"Drwxr-xr-x 10 root 4096 09-17 jdk1.6.0 _ 16Drwxr-xr-x 16 1016 1016 4096 10-11 subversion-1.6.1Drwxr-xr-x 9 root 4096 2011-11-01 tomctomcat6.0.32
Example 4: list all files whose names start with "s" in the current working directory. to restore the files, run the following command:
Command: ls-ltr s *Output:[Root @ localhost opt] # ls-ltr s *Src:Total 0
Scrip
the uid is unknown (all the files in the etc are copied from the original compilation environment). An error occurs when the passwd command is executed, prompting "unknown uid 0 ". The solution is to add the lib file.
Libnss_compat.so.2
Libnsl. so.1
Libnss_nis.so.2
Libnss_files.so.2
I have added bash and other programs. In this way, the following files are available under/lib:
-Rwxr-xr-x 1 root 131484 ld-linux.so.2 *
-Rwxr-
libfastcommon-master]# ./make.sh installTip: if the following error is reported when the second sentence is executed, the error 3.3 is returned.
-bash: unzip: command not found
The command is not found because unzip is not installed.
The installation command is:
yum install -y unzip zip3.3 download and install FastDFS
[root@fastdfs-tracker tools]# wget http://jaist.dl.sourceforge.net/project/fastdfs/FastDFS%20Server%20Source%20Code/FastDFS%20Server%20with%20PHP%20Extension%20Source%20Code%20V5.
/Command: Ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput:[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names
/peidachang.
example Two : List the contents of all directories in the current directory that begin with "T" and use the following command
command :ls-l t*You can view information for all files in the current directory that have a file name that begins with "T". In fact, in the command format, the contents of the square brackets can be omitted, for the command LS, if you omit the command parameters and Operation object, directly enter "LS", will be listed in the current working dir
connection and whether the file is a symbolic connection.-H or--help online Help.-L or--list lists information about the compressed file.-L or--license display version and copyright information.The original file name and time stamp are not saved when the file is compressed by-N or--no-name.-N or--name compress the file, save the original file name and time stamp.-Q or--quiet does not display a warning message.-R or--recursive recursively handles all files and subdirectories under the specified
/Command: Ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput:[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names
the point of a symbolic link, not the linked file itself Select parameters:--reference=--from=--HELP Display Help information--version displaying version information 4. Usage examples: Example 1: Changing Owners and groupsCommand:Chown Mail:mail Log2012.log Output: [[email protected] test6]# ll---xr--r--1 root users 302108 11-30 08:39 linklog.log---xr--r--1 root users 302108 11-30 08 : log2012.log-rw-r
fileOutput:[Email protected] opt]#ls-l/opt/soft |grep "^d"drwxr-xr-xTenRoot root4096 the- - -: -Jdk1.6. 0_16DRWXR-xr-x - 1016 1016 4096 Ten- One Geneva: -subversion-1.6.1drwxr-xr-x9Root root4096 .- One- onTomcat6.0.32Example four: List the current working directory of all the names are the beginning of the file, the newer the new row, you can use the fol
operate the Peidachang file under the home folder, I can enter the LS-LR Peidachang directly, or I can use Ls-lr/home/peidachang.Example two: Listing the details of all directories in the current directory that begin with "T", you can use the following command:Command: Ls-l t*You can view information for all files in the current directory that have a file name that begins with "T". In fact, in the command format, the contents of the square brackets can be omitted, for the command LS, if you omi
/command : ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput :[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the name
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.