如何讓ls -l的結果依照數字遞增排序 - Linux

Ingrid avatar
By Ingrid
at 2011-09-20T16:24

Table of Contents

應該是個很基本的問題 不過man ls好像沒寫 google也沒找到@@

假設原本ls -l的結果(檔名那個column)是這樣:
10
11
1
2
3
4
5
6
7
8
9

有辦法變成這樣嗎 :
1
2
3
4
5
6
7
8
9
10
11

--
Tags: Linux

All Comments

Tristan Cohan avatar
By Tristan Cohan
at 2011-09-24T10:19
ls -v
Carolina Franco avatar
By Carolina Franco
at 2011-09-25T07:13
ls | sort -n
Valerie avatar
By Valerie
at 2011-09-29T15:24
FreeBSD 可以裝 gnuls XD

誤改檔名後如何快速改回來

Selena avatar
By Selena
at 2011-09-20T15:31
有時候手殘會發生這種事 原本想要打這樣: useratlocal_host:~$ scp a_file_with_long_filename useratremote_host:path_to_put_the_file 卻不小心打成這樣, 誤改了檔名: useratlocal_host:~$ mv a ...

mplayer編譯問題

Frederic avatar
By Frederic
at 2011-09-20T07:40
各位好: 我使用ubuntu系統!! 以下是我編譯的過程,但始終無法成功撥放任何的影片或聲音 可以成功編譯,但文字模式下的mplayer就是沒影沒音 是哪邊沒設定到或是少安裝甚麼嗎? 1.官方下載原始碼 http://www.mplayerhq.hu/MPlayer/rel ...

ZIP解壓縮錯誤

Annie avatar
By Annie
at 2011-09-19T19:55
不好意思,請教一下。 我平常編譯程式的環境是ubuntu 10.04,會使用到shell的指令zip將我的image打包 但是將檔案複製到隨身碟在丟到XP後發現,解壓縮都是CRC錯誤 曾經有想過可能是ubuntu系統雖然顯示檔案複製完成,但實際上資料還在buffer 但發現似乎不是這樣~ 不知道這部分 ...

自動化的Wi-Fi連線功能

Susan avatar
By Susan
at 2011-09-19T16:02
請問一下,如果我已經有一組使用者名單了, 或者是由email系統來提供使用者帳密 要如何讓Wi-Fi AP可以和名單做連結, 並且實現一個自動化的註冊頁面呢? 例如有訪客使用我的AP, 他第一次連線會進入一個註冊網頁, 首先必須透過Email註冊、驗證, 取得帳密後才能繼續使用AP的連線服務 請問有AP ...

星系統社群:第一次星系實戰演練

Isabella avatar
By Isabella
at 2011-09-19T14:47
目的 學習國外知名的網路精簡系統,讓參與成員,逐漸熟悉精簡作業系統開發過程。 主題內容 分享者:Ben Contiki 心得分享及實戰演練 所有參與者 演練及討論。 此次活動已加入TOSSUG行程(請參閱http://www.tossug.org/2011) ...