I.lib()/I.lib(Unix)
쉘(shell) 에서 ls 할때 컬러(color) 없애기.
.07274.
2011. 6. 30. 13:36
Q. How do I turn on or off file name colors in bash shell?
A. Most modern Linux distro comes with alias that defines colors for your file. However ls command is responsible for displaying color on screen for files, directories and other object.
By default, color is not used to distinguish types of files. You need to pass --color option to ls command.
Task: Turn off colors
Type the following command
$ ls --color=none
Or just remove alias with unalias command:
$ unalias ls
Task: Turn on colors
Use any of the following command:
$ ls --color=auto
$ ls --color=tty