Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a certain requirement where in , when i list all files with the hyphen a option , i must not get certain files. How would you do this .That is what should be the name to be given to the file if it has to be hidden from this command ? Please help me in this regard.
Please do not tag threads as urgent, all responses here are made by volunteers in their own free time. I don't see anything urgent about your request to begin with.. Not like you have a server that crashed or something, not that that would make a difference..
so it looks like you want to sort based on a pattern of some kind ? Like list all the files that begin with abc ? heres a command for you apropos. Apropos searches the manual pages descriptions for the term specified and returns commands that meet that search criteria.. then you can view their man pages for further info..
apropos pattern will give you a list of commands used for pattern matching. Things such as grep, awk, etc..
more detail on what you are trying to show in your results, would be helpful to get a more useful answer..
I've edited the thread title. In the future please avoid using "urgent", "help me" and other titles that do not describe or summarise your problem. Good thread titles help increase the exposure of your thread.
What i have asked is different, what i mentioned was how do i rename a file such that its not listed in the listing all options. ie wen i use ls with the a option , the file must not be listed.how do i do that ?
I am trying to implement a new function to retrieve the files which are deleted, trying to sort of use a trash bin for the deleted files and retrieve it back.the files in the bin should not be visible to user so im implementing it.
Of course I can't stop you from re-inventing wheels, but unless
you're very good they may turn out square, or with an off-centre
axil ... oh well. Anyway: you can't hide a file from ls' all-together
unless you hack ls in a way that makes it ignore files e.g. with
a special non-printable character. Bad idea, though.
Ok thanks ...i ll try that implementation.
On the same note, to Tinkster my question is what would be tht spl character? i cud try tht too ...
anything smaller 0x1F, for example ... of course there's
not just 'ls' you'd need to hack. There's bash (with it's
TAB expansion and globbing), there's 'mc', maybe some GUI
tools like Konqueror, Nautilus, .... if I were you I'd
abandon the idea rather quickly :} and move on to known
tools and some user training ;}