alias [change dir] - Linux
By Xanthe
at 2011-08-20T18:29
at 2011-08-20T18:29
Table of Contents
每次cd 到別的目錄後,下個動作一定是ls,看一下該目錄內有哪些東西...
這樣子真的很麻煩..
cd xx ls
cd yy ls
...
我想要alias cd指令,使它做三個動作..
1. change dir
2. clear
3. ls
使用的是bash,第一個動作不曉得有沒有人知道該如何設定??
alias cd='_____;clear;ls'
感謝
--
Tags:
Linux
All Comments
By Rosalind
at 2011-08-25T16:54
at 2011-08-25T16:54
By Todd Johnson
at 2011-08-26T14:31
at 2011-08-26T14:31
By Tristan Cohan
at 2011-08-31T05:36
at 2011-08-31T05:36
By Una
at 2011-09-05T04:02
at 2011-09-05T04:02
By Hedda
at 2011-09-05T14:30
at 2011-09-05T14:30
By Mia
at 2011-09-06T19:42
at 2011-09-06T19:42
By Audriana
at 2011-09-11T04:02
at 2011-09-11T04:02
By Gary
at 2011-09-14T11:17
at 2011-09-14T11:17
By Jessica
at 2011-09-16T18:50
at 2011-09-16T18:50
By Irma
at 2011-09-19T10:07
at 2011-09-19T10:07
Related Posts
LVM下壞軌..
By Elma
at 2011-08-20T16:09
at 2011-08-20T16:09
vim "*"關鍵字反白功能消失
By Charlie
at 2011-08-20T14:04
at 2011-08-20T14:04
Youtube accelerated video rendering?
By Lily
at 2011-08-20T12:05
at 2011-08-20T12:05
請協助測試 Firefox 字型設定
By Tracy
at 2011-08-20T11:57
at 2011-08-20T11:57
請協助測試 Firefox 字型設定
By Erin
at 2011-08-20T10:45
at 2011-08-20T10:45