So I've finally given up after searching/trial and error for an hour now on how to find a file given specific criteria (none of which is the name of the file or the extension).
The file info provided ...

I am trying to modify the bash shell script and need some assistance.
I have a directory with a bunch of files. What I need is to go through the files in a loop and if the file name not in a specific ...

For example I have a file named 5.jpg. How can I rename it to aaaaa.jpg with char a 5 times.
I tried rename -v 's/(\d{1,})/a{$1}/g' * but this renames 5.jpg to a{5}.jpg, which is not what I want. I ...

I would like to have a way in which a set of folders do not allow write access for a particular process. For example, I would love to have a way in which YUM/RPM is not allowed to write into /usr/bin
...

If I am doing once only scanning across big files then do I need to worry about impact on the page cache or does the OS take care to avoid my scan causing pointless churn in the page cache. I want to ...

I'm writing an AI personal assistant. One part of the software is a monitor daemon. A small process that monitor's user's active windows. I'm using python( with libwnck and psutils for obtaining info ...

I would like to know how file types are known if filenames don't have suffixes.
For example, a file named myfile could be binary or text to start with, how does the system know if the file is binary ...