看板Linux
标 题Re: 如何显示档名的完整路径 ?
发信站SayYA 资讯站 (Sat Nov 1 15:27:51 2008)
转信站ptt!news.ntu!news.ncu!News.Math.NCTU!SayYa
※ 引述《[email protected] (linux蓝海帝国)》之铭言:
> 大家好,
> 小弟使用 ls 指令时,只能显示出档案(或目录)名称
> 我应该如何下指令,才能够显示出完整的档案路径 (full path) 呢 ?
> ex:
> $ ls -l
> total 2292
> drwxr-xr-x 4 root root 4096 2008-10-19 11:11 acpi
> -rw-r--r-- 1 root root 45 2008-10-31 01:41 adjtime
> drwxr-xr-x 4 root root 4096 2008-10-19 11:13 alchemist
> 我想要显示出 "/etc/acpi" and "/etc/adjtime" and "/etc/alchemist" 这样的结果
> 感谢~
ls -l $(pwd)/*
只是 ptt 看不到这篇 ~.~
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
现代人普遍的现象: 「小学而大遗」、「舍本而逐末」
「以偏而概全」、「因噎而废食」
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: kendlee.sayya.org
1F:推 chan15:笔电安装 Mint 可以选择效能吗 06/12 14:20