In fact, in most distributions, what you think of as the "naked" ls command is actually an alias. Useful permutations of the ls command with their strings of options and parameters are the perfect candidates for aliases. There are so many options, how do you sift through them to find the useful ones? And having found them, how do you remember them? The ls command is one of those commands with a wealth of options. Beyond that, it gets little consideration. We list files in long format when we want to look at the permissions on a file. We list files with it to see what's in a directory. That might explain why there is more to this command than most users realize. Those of us who hang around the command line use it day in and day out without even thinking about it. The ls command is probably the first command most Linux users encounter. Pay it some attention, and you'll find many useful options - including some you should add to your command-line arsenal. We use the Linux ls command every day without thinking about it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |