看板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