Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

find

locate vs find: usage, pros and cons of each other

August 11, 2022 by Magenaut

In Linux and Unix systems there are two common search commands: locate and find.

Categories Q&A, Unix & Linux Tags files, find, locate, search Leave a comment

What is meaning of {} + in find’s -exec command?

August 11, 2022 by Magenaut

I want to know the meaning of {} + in the exec command, and what is the difference between {} + and {} ;.
To be exact, what is the difference between these two:

Categories Q&A, Unix & Linux Tags find Leave a comment

How to report number of files in all subdirectories?

August 11, 2022 by Magenaut

I need to inspect all sub-directories and report how many files (without further recursion) they contain:

Categories Q&A, Unix & Linux Tags find, ls Leave a comment

Find latest files

August 11, 2022 by Magenaut

How do I find out the most recently accessed file in a given directory?

Categories Q&A, Unix & Linux Tags find Leave a comment

How to replace spaces in all file names with underscore in Linux using shell script?

August 11, 2022 by Magenaut

I tried following shell script which should replace spaces from all xml filenames

Categories Q&A, Unix & Linux Tags files, find, mv, rename, shell-script Leave a comment

How can I move files by type recursively from a directory and its sub-directories to another directory?

August 11, 2022 by Magenaut

What would be a good way to move a file type from a directory and all of its sub-directories?

Categories Q&A, Unix & Linux Tags command-line, directory, find, rename Leave a comment

Understanding find(1)’s -exec option (curly braces & plus sign)

August 11, 2022 by Magenaut

Using the following command, could someone please explain what exactly is the purpose for the ending curly braces ({}) and plus sign (+)?

Categories Q&A, Unix & Linux Tags find Leave a comment

How can I find files and then use xargs to move them?

August 11, 2022 by Magenaut

I want to find some files and then move them.

Categories Q&A, Unix & Linux Tags find, rename, xargs Leave a comment

Grep word within a file then copy the file

August 10, 2022 by Magenaut

I have a collection of files ( *.zip, *.txt, *.tar.gz, *.doc, …etc ). These files reside within a path. I want to find all the files ( *.txt), then copy, only, the text files that contain specific words ( e.g LINUX/UNIX).

Categories Q&A, Unix & Linux Tags cp, find, grep, text-processing Leave a comment

Finding all large files in the root filesystem

August 10, 2022 by Magenaut

I have a linux server, which currently has below space usage:

Categories Q&A, Unix & Linux Tags disk-usage, find Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page10 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress