Skip to content

Magenaut

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

files

Why is /dev/null a file? Why isn’t its function implemented as a simple program?

August 9, 2022 by Magenaut

I am trying to understanding the concept of special files on Linux. However, having a special file in /dev seems plain silly when its function could be implemented by a handful of lines in C to my knowledge.

Categories Q&A, Unix & Linux Tags devices, executable, files, null Leave a comment

paste files without delimiter

August 9, 2022 by Magenaut

How do I join two files vertically without any separator? I tried to use paste -d"" a b, but this just gives me a.

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

How to find missing files with sequential names?

August 9, 2022 by Magenaut

I have thousands of files named 1.txt 2.txt and so on. Some of those files are missing. Which would be the easiest way to find out which files are missing? 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 … Read more

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

How can I revert a chmod on the etc directory?

August 9, 2022 by Magenaut

I accidentally executed the following command on the etc directory:

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

using inotify to monitor access to a file

August 9, 2022 by Magenaut

I would like to have a trigger and when a particular file is accessed by some process, I would like to be notified (i.e. a script should be run). If I understand correctly, this could be achieved with inotify.

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

undelete a just deleted file on ext4 with extundelete

August 9, 2022 by Magenaut

Is there a simple option on extundelete how I can try to undelete a file called /var/tmp/test.iso that I just deleted?

Categories Q&A, Unix & Linux Tags data-recovery, deleted-files, extundelete, files Leave a comment

File extensions for unix shell scripts

August 9, 2022 by Magenaut

For the .sh file extension type, see Bourne shell.

Categories Q&A, Unix & Linux Tags conventions, filenames, files, scripting, shell-script Leave a comment

Real-time file synchronization

August 9, 2022 by Magenaut

Is there any tool available to sync files between two or more linux servers immediately after writing the file in the disk? The rsync command does not suit me on this, because if I set rsync in cron, the minimum time I can set is 1 minute, but I need it on real-time basis.

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

How can I edit multiple files in Vim?

August 9, 2022 by Magenaut

I know I can open multiple files with vim by doing something like vim 2011-12*.log, but how can I switch between files and close the files one at a time?

Categories Q&A, Unix & Linux Tags command-line, files, linux, vim Leave a comment

Why does a software package run just fine even when it is being upgraded?

August 9, 2022 by Magenaut

Say I am running a software, and then I run package manager to upgrade the software, I notice that Linux does not bring down the running process for package upgrade – it is still running fine. How does Linux do this?

Categories Q&A, Unix & Linux Tags files, inode, linux Leave a comment
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 … Page14 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