Skip to content

Magenaut

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

Unix & Linux

Everything is a file?

August 10, 2022 by Magenaut

In Linux, every single entity is considered as FILE. If I do vim <cd-Name> then, vim will open the directory content into it’s editor, because, it do not differentiate between file and directories.

Categories Q&A, Unix & Linux Tags cd-command, linux, linux-kernel Leave a comment

Debian: The repository does not have a Release file

August 10, 2022 by Magenaut

Whenever trying to install some programs from source, or specifically running apt update, I receive this message:

Categories Q&A, Unix & Linux Tags apt, debian, package-management Leave a comment

locale not found/setting locale failed – what should I do?

August 10, 2022 by Magenaut

I’ve installed Debian 7 i386 on my VPS (OpenVZ). Everything works fine, except locales – any attempt to install anything shows:

Categories Q&A, Unix & Linux Tags debian, locale Leave a comment

How can I delete a folder with lots of subfolders fast?

August 10, 2022 by Magenaut

I have a folder with 266778 subfolders. How can I delete it?

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

How to find/grep what is between string1 and string2?

August 10, 2022 by Magenaut

I am trying to extract a value from a long string that may change over time. So for example the string could look something like this

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

Equivalent of iwlist to see who is around?

August 10, 2022 by Magenaut

What is the equivalent to:

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

Output colored text in all major distros without using non-word color codes (like 33[0;31m)

August 10, 2022 by Magenaut

I found these ways, for example, to output colored text in a simple way to the screen:

Categories Q&A, Unix & Linux Tags bash, colors, distributions, output, stability Leave a comment

Securely feeding a program with a password

August 10, 2022 by Magenaut

After understanding the problem with using a password in the command line, I need to find a way of feeding a program with a password without it being a problem (without the password being recorded somewhere).

Categories Q&A, Unix & Linux Tags bash-script, password, security Leave a comment

How do open files behave on linux systems?

August 10, 2022 by Magenaut

I just renamed a log file to “foo.log.old”, and assumed that the application will start writing a new logfile at “foo.log”. I was surprised to discover that it tracked the logfile to its new name, and kept appending lines to “foo.log.old”.

Categories Q&A, Unix & Linux Tags files, open-files, rename Leave a comment

How can I time a pipe?

August 10, 2022 by Magenaut

I want to time a command which consists of two separate commands with one piping output to another. For example, consider the two scripts below:

Categories Q&A, Unix & Linux Tags bash, pipe, shell, time Leave a comment
Older posts
Newer posts
← Previous Page1 … Page58 Page59 Page60 … Page371 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