Show only executable files of a system folder
i would like some help the following problem:
show only executable files of a system folder. My idea is: ls -h /. but is does not work. Why? I would appreciate any help. |
Hi,
Quote:
The 'ls -h /' says to list the content of the '/' and display in a human readable format. Your system probably displayed; Code:
~#ls -h / Code:
ls -lh Code:
~#ls -hl /boot 'Learning the shell' is another good reference. This link and others are available from 'Slackware-Links' |
Quote:
relate to executables? Do your own homework. |
should go something like
Quote:
|
It's not that difficult if you try to do "man ls" and find for the option that matches your creteria...
edit: greek out :( jianelis r e a d t h e m a n u a l |
list only executables using ls Command
ls -F | grep '*'
or ls -la | grep [w-]'x'[r-] |
Linux Friendliness Score: 0
iamwilliam nailed it. His solution is not in the man page or the info pages, but it is here. This is the reason for this forum's existence: better documentation than the man pages.
onebuck didn't answer the question. Tinkster and sentient6 went further and admonished this new user for merely being inexperienced. Apparently they read every man page available (even though they can be horrible pieces of user documentation*) before ever asking a question, and thus feel entitled to pass judgment. This may be feeding the trolls, but I couldn't let this post go unchallenged, as if this general attitude towards newbies is the standard. Per xkcd, "someone is wrong on the internet". :) *Try "man history" if you doubt this. |
You just revived a necro thread that had its last comment a year and a half ago, giving a proposed solution to a question 5 years ago.
|
All times are GMT -5. The time now is 10:29 PM. |