Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This command gives the list of all those files which do not start with either c or h or a or p. As a result, I dont get the files in the directory starting with these letters.
Don't forget this is linux! If the command you want does not exist, create it
So create your own command, that will do ls, and then filter through grep. Else you can define a "ls" function in your .profile, that pipe /bin/ls into grep... Many things are possible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.