How do I change my ls?

Lan Anh

New member
How do I change my ls?
Answer
Simply do alias
ls=’ls -tU’ and in the future all ls commands would be replaced by ls -tu . This solution persists until your close your terminal window, but you can always add it to a startup script (for example, . bashrc ) to apply it every time you pull up your command shell.
 

Tìm kiếm

Back
Top