How to use find command to find all files with extensions from list?
I need to find all image files from directory (gif, png, jpg, jpeg). find /path/to/ -name “*.jpg” > log How to modify this … Read more
I need to find all image files from directory (gif, png, jpg, jpeg). find /path/to/ -name “*.jpg” > log How to modify this … Read more
I would like to set a job to run daily in the root crontab. But I would like it to execute it from … Read more
Is it possible when listing a directory to view numerical unix permissions such as 644 rather than the symbolic output -rw-rw-r– Thanks. 9 … Read more
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for … Read more
I am doing a find and then getting a list of files. How do I pipe it to another utility like cat (so … Read more
I have gotten the following to work: for i in {2..10} do echo “output: $i” done It produces a bunch of lines of … Read more
I want to list only the directories in specified path (ls doesn’t have such option). Also, can this be done with a single … Read more
What is the simplest way to remove all the carriage returns \r from a file in Unix? 21 Answers 21
Is there a method to colorize the output of cat, the way grep does. For grep, in most consoles it displays a colored … Read more
Is it possible to use the find command in some way that it will not recurse into the sub-directories? For example, DirsRoot |–>SubDir1 … Read more