![]() ![]() The default list is long because it specifies different colors for a number of different file types. The LS_COLORS variable contains a list of file types along with associated color codes. However, this makes it easy to do so with a single, quick command. You can always sign out and sign back in or close and reopen a terminal window to restore the colors to their default setting. Your changes are always temporary until you edit a file to make them your new defaults. To save the current content of the LS_COLORS variable to a new variable named ORIGINAL, run: ORIGINAL=$LS_COLORSĪt any time, you can run the following command to undo your changes and restore the default colors: LS_COLORS=$ORIGINAL This will allow you to quickly restore the default settings without signing out of the shell and signing back in, or closing and reopening the terminal window. Before playing around with this, we recommend saving the current contents of the LS_COLORS variable to another variable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |