Skip to content

Magenaut

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

Unix & Linux

What is the portable (POSIX) way to achieve process substitution?

August 11, 2022 by Magenaut

Some shells, like bash, support Process Substitution which is a way to present process output as a file, like this:

Categories Q&A, Unix & Linux Tags pipe, posix, process-substitution, shell Leave a comment

Why is there a * When There is Mention of Unix Throughout the Internet?

August 11, 2022 by Magenaut

I’ve noticed that throughout the Internet, within forums and blog posts, Unix always has a * in the word, whether it is *nix or Un*x, as I noticed at the welcoming banner at the Unix StackExchange site.

Categories Q&A, Unix & Linux Tags history, terminology, unix Leave a comment

What do the “buff/cache” and “avail mem” fields in top mean?

August 11, 2022 by Magenaut

Within the output of top, there are two fields, marked “buff/cache” and “avail Mem” in the memory and swap usage lines:

Categories Q&A, Unix & Linux Tags linux, memory, top Leave a comment

Comparing two strings in Bash

August 11, 2022 by Magenaut

I have the following if block in my bash script:

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

Documentation on LESS_TERMCAP_* variables?

August 11, 2022 by Magenaut

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap?

Categories Q&A, Unix & Linux Tags colors, less, man, termcap, terminal Leave a comment

debian su – and su $PATH differences?

August 11, 2022 by Magenaut

The two implementations are very similar but have some minor differences (and there might be more that was not yet noticed ofcourse), e.g.

Categories Q&A, Unix & Linux Tags bash, debian, root, su Leave a comment

Is there any UNIX variant on which a child process dies with its parent?

August 11, 2022 by Magenaut

I have been studying the Linux kernel behaviour for quite some time now, and it’s always been clear to me that:

Categories Q&A, Unix & Linux Tags exit, fork, init, process Leave a comment

How does ping work on Fedora without setuid and capabilities?

August 11, 2022 by Magenaut

As far as I know, ping needs to create a raw socket (which needs either root access or cap_net_raw capabilities).

Categories Q&A, Unix & Linux Tags capabilities, security, setuid Leave a comment

Can files be created with permissions set on the command line?

August 11, 2022 by Magenaut

When creating directories, mkdir -m <mode> <dir> provides for creating one or more directories with the given mode/permissions set (atomically).

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

Is it possible to install a linux desktop environment from a live cd?

August 11, 2022 by Magenaut

My question is about Linux in general but lets suppose my ubuntu isn’t working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to reinstall the desktop environment from live cd?

Categories Q&A, Unix & Linux Tags livecd, package-management, ubuntu Leave a comment
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … 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