Location:
Search - ls -l
Search list
Description: Shell源码:find查找日期为某一天的文件
A=`find ~ -print` | ls -l --full-time $A 2>/dev/null | grep \"Jun 27\" | grep 1998
下面这个script,存成一个符合规则名字的文件,置上x属性就行了。
-Shell source : find search for a particular day in the paper A = ~ find - print | ls-l -- full-time A $ inversion; / Dev / null | grep "Jun 27" | grep 1998 following the script, save one meet the rules name in the paper, on the x attribute home there.
Platform: |
Size: 3161 |
Author: 姚璇 |
Hits:
Description: a demo of command of \"ls -l\"-a demo of command of the "ls-l"
Platform: |
Size: 1286 |
Author: 糖糖 |
Hits:
Description: LS by Cao Siqin, 2007.7.17
ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...]
Options:
-? : display this help
-l : list details
-a : list all files
-w/s : list in a line, file names are sepatated by tab
-p : file name with full path
-q : if file name contains space then use \" to embrace it
-c : swith on/off color
-d : list folders only
-f : list files only
-o : omit file s extension name
-O : omit all file s extension names
-! : use kernel API instead of stream function to list
other options : will be ignored
Color:
yellow : directory
gray : hidden file/directory
red : readonly file/directory
blue : compressed file/directory
green : system file/directory
white : normal file/directory
Noice:
There should be less then 100 masks
-l/-w, -d/-f can t be both valid, only the latter will be
Both \"-\" and \"/\" can be used to define options
Platform: |
Size: 23591 |
Author: 孙谨 |
Hits:
Description: 完成ls的如下功能
不带参数的ls:列出当前目录下的非隐藏(文件和目录名不以.开头)的文件和目录
ls -a:列出当前目录下的所有文件和目录
ls -l:以长列表形式列出当前目录下的非隐藏的文件和目录。每个文件或目录只要求列出如下信息:类型与权限、文件名、链接数、用户ID、组ID、字节大小、块数
ls 路径名:如果路径名代表一个存在的文件则显示该文件,否则提示出错;如果路径名字代表一个存在的目录则列出该目录中的文件
列出文件名和目录名时,要求可执行文件最后加上一个*号,目录名最后加上一个/号。
所提供的路径名可以包含“.”,“..”,“~”等特殊目录-completion of the following non-functional parameters of ls : listed in the current directory-hidden (files and directories were not. Beginning) of files and directories ls-a : listed in the current directory of all files and directories ls-l : in the long list of current directory listed under the non-hidden possession of files and directories. Each file or directory only asked to list the following information : the type and competence, file name, number of links, the user ID and group ID, byte size, a few blocks ls path : If a path representatives of the document showed documents suggest otherwise error; If representatives of a path name the presence of the directory lists the directory lists the file name and directory name, asked executable file with a* Finally, the last name of the
Platform: |
Size: 2048 |
Author: 叶黎 |
Hits:
Description: 实现Shell,能处理命令
cd :改变进程当前路径
pwd :查看进程当前路径
pid:查看当前进程号(getpid()系统调用)
logout :退出shell
ls [-l]
rm [-r]
mkdir, mv, cp-achieve Shell, can handle orders cd : the process of change current path pwd : View current path process pid : View the current process (getpid () system call) logout : withdraw from the shell ls [-l] rm [-r] mkdir, mv, cp
Platform: |
Size: 11264 |
Author: 叶黎 |
Hits:
Description: a demo of command of "ls -l"-a demo of command of the "ls-l"
Platform: |
Size: 1024 |
Author: 糖糖 |
Hits:
Description: LS by Cao Siqin, 2007.7.17
ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...]
Options:
-? : display this help
-l : list details
-a : list all files
-w/s : list in a line, file names are sepatated by tab
-p : file name with full path
-q : if file name contains space then use " to embrace it
-c : swith on/off color
-d : list folders only
-f : list files only
-o : omit file s extension name
-O : omit all file s extension names
-! : use kernel API instead of stream function to list
other options : will be ignored
Color:
yellow : directory
gray : hidden file/directory
red : readonly file/directory
blue : compressed file/directory
green : system file/directory
white : normal file/directory
Noice:
There should be less then 100 masks
-l/-w, -d/-f can t be both valid, only the latter will be
Both "-" and "/" can be used to define options-LS by Cao Siqin, 2007.7.17
ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...]
Options:
-? : display this help
-l : list details
-a : list all files
-w/s : list in a line, file names are sepatated by tab
-p : file name with full path
-q : if file name contains space then use " to embrace it
-c : swith on/off color
-d : list folders only
-f : list files only
-o : omit file s extension name
-O : omit all file s extension names
-! : use kernel API instead of stream function to list
other options : will be ignored
Color:
yellow : directory
gray : hidden file/directory
red : readonly file/directory
blue : compressed file/directory
green : system file/directory
white : normal file/directory
Noice:
There should be less then 100 masks
-l/-w,-d/-f can t be both valid, only the latter will be
Both "-" and "/" can be used to define options
Platform: |
Size: 23552 |
Author: 孙谨 |
Hits:
Description: Linux常用命令
1 文件列表 – ls :
ls #以默认方式显示当前目录文件列表;
ls –a #显示所有文件包括隐藏文件;
ls –l #显示文件属性,包括大小,日期,符号连接,是否可读写及是否可执行。
2 目录切换 – cd :
cd dir #切换到当前目录下的dir 目录;
cd / #切换到根目录;
cd .. #切换到到上一级目录。
3 复制 – cp :
cp source target #将文件source 复制为 target;
cp /root/source . #将/root 下的文件source 复制到当前目录;
cp –av soure_dir target_dir #将整个目录复制,两目录完全一样;
cp –fr source_dir target_dir #将整个目录复制,并且是以非链接方式复制,当source 目
录带有符号链接时,两个目录不相同。
4 删除 – rm :
-err
Platform: |
Size: 6144 |
Author: |
Hits:
Description: linux下ls的简单实现,具体看代码-ls under linux the easy implementation, the specific code look
Platform: |
Size: 20480 |
Author: chengui |
Hits:
Description: 3.编程实现在linux中ls -l -a 命令。用c重新实现类似ls -l -a 命令-3. Programming in the linux implementation of ls-l-a command. C re-implementation with similar ls-l-a command
Platform: |
Size: 1024 |
Author: ak-47 |
Hits:
Description: linux下shell命令"ls -l"的C语言实现方法。-shell under linux command " ls-l" Ways of the C language implementation.
Platform: |
Size: 1024 |
Author: 彭晓 |
Hits:
Description: 1 文件管理 # ls ls -a 列出当前目录下的所有文件,包括以.头的隐含文件
文件管理 # ls ls -l或ll 列出当前目录下文件的详细信息
-A document management# ls ls-a lists all files under the current directory, including. Head hidden file management# ls ls-l or ll list the current directory files for more information
Platform: |
Size: 15360 |
Author: 李可文 |
Hits:
Description: ls算法的简单程序,很有帮助,希望能对大家有用,相互帮助-ls algorithm simple procedure, very helpful,Hope it ll be useful to help each other
Platform: |
Size: 33792 |
Author: 金东 |
Hits:
Description: It is a simple program in C, that doing "ls -l" command.
Platform: |
Size: 1024 |
Author: Marek |
Hits:
Description: 两个文件,分别简单实现linux下的ls-l功能和树形结构显示目录的tree功能。-Two files, a simple function under linux ls-l and a tree structure to display the directory tree.
Platform: |
Size: 2048 |
Author: ocean |
Hits:
Description: linux中实现 ls ls -a ls -l的功能-linux achieve ls ls-a ls-l function
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 用c语言 实现linux下ls -l文件查看功能-Under linux ls-l function
Platform: |
Size: 2048 |
Author: zhengli |
Hits:
Description: a c program for simulation of system call ls -l .
Platform: |
Size: 2048 |
Author: dekans |
Hits:
Description: 实现ls -l功能,打开文件夹,列出文件名,大小,详细信息(Implementation ls -l function)
Platform: |
Size: 1024 |
Author: 飞飞鹰
|
Hits:
Description: 完整的ls –l命令(按照长格式显示当前目录下非隐藏文件的属性)。(Complete LS - L command (according to the long format attributes of non hidden files in the current directory).)
Platform: |
Size: 1024 |
Author: 似水流年001
|
Hits: