Skip to content

Magenaut

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

files

Check whether files in a file list exist in a certain directory

August 6, 2022 by Magenaut

The runtime arguments are as follows: $1 is the path to the file containing the list of files
$2 is the path to the directory containing the files
What I want to do is check that each file listed in $1 exists in the $2 directory

Categories Q&A, Unix & Linux Tags bash, files, scripting, shell Leave a comment

Clone directory tree structure and copy files to the corresponding directories modified after a specific date

August 6, 2022 by Magenaut

I have a folder with more than 30 sub directories and I want to get the list of the files which was modified after a specified date(say sep 8 which is the real case) and to be copied with the same tree structure with only the modified files in that folder

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

Shell script to check for the presence of one or more files with a specific extension?

August 6, 2022 by Magenaut

I want to write a script to find a file with specific extension.this much i have done:

Categories Q&A, Unix & Linux Tags bash, files, shell-script, wildcards Leave a comment

How can I get a specific line from a file?

August 6, 2022 by Magenaut

I want to extract an exact line from a very big file. For example, line 8000 would be gotten like this: command -line 8000 > output_line_8000.txt Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as … Read more

Categories Q&A, Unix & Linux Tags files, text-processing Leave a comment

Is that possible to integrate zip and tar.gz files as directory into the file system

August 6, 2022 by Magenaut

I wonder if there is a way to integrate (it’s a bit different from mounting, I think) compressed files as directories into the file system?

Categories Q&A, Unix & Linux Tags files, filesystems, mount, tar, zip Leave a comment

Compressing two identical folders give different result

August 6, 2022 by Magenaut

I have two identical folders, with same structure and contents like this:

Categories Q&A, Unix & Linux Tags files, reproducible-build, tar Leave a comment

Read the middle of a large file

August 6, 2022 by Magenaut

I have a 1 TB file. I would like to read from byte 12345678901 to byte 19876543212 and put that on standard output on a machine with 100 MB RAM.

Categories Q&A, Unix & Linux Tags dd, files Leave a comment

How to circumvent “Too many open files” in debian

August 6, 2022 by Magenaut

If I want to see all relevant log files of my apache2 server at once, I use

Categories Q&A, Unix & Linux Tags debian, file-descriptors, files, limit, ulimit Leave a comment

permissions 755 on /home//

August 6, 2022 by Magenaut

I am wondering why by default my directory /home/<user>/ has permissions set to 755. This allows other users to enter into directories and read files in my home. Is there any legitimate reason for this ?

Categories Q&A, Unix & Linux Tags chmod, files, permissions Leave a comment
Newer posts
← Previous Page1 … Page13 Page14
  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