[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [QREF] ls -d 一问



ls -F | grep /$

On 8/13/05, "ФʢÎÄ(Faris Xiao)" <atzlinux@163.com> wrote:
> 
>       4.3.2 Basic Unix commands
> 
> 
> 
> # ls -d
> 
>     * List all directories under the current directory.
> 
> debian:/# ls -d
> ./
> 
> 当执行这个命令的时候,无法得到当前目录下的目录列表,总是得到 ./ 。
> 
> 请问一下列出当前目录下所有目录的名称的命令是什么?(不列出当前目录下的文件名称)
> 
> 
> --
> 
> 肖盛文(Faris Xiao)
> Email:atzlinux@163.com
> 
> 
> 
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


-- 
LI Daobing

Reply to: