简体   繁体   中英

Show hidden files in OSX terminal permanent

This should be an easy google but I can't ******* find it. When I use the ls command on a directory I always want to show the hidden files. So basically ls -a but I don't want to type the -a everytime.

All I find is the -a solution, or things about the finder.

Maybe add an alias to your ~/.bash_aliases file. Something like alias la="ls -a" would work.

Then you can call $> la on your command line after running source ~/.bash_aliases to show all files, incl. hidden ones.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM