Skip to content

Magenaut

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

Unix & Linux

Need to sum of last column based on pipe delimiter

August 9, 2022 by Magenaut

I have below inputs with huge number of rows

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

Insert new lines with missing values (NA)

August 9, 2022 by Magenaut

I would like to insert new lines in text files if there are missing values.
I have for example the following text file (A.txt), for which line 5 is missing. In addition, as the file should have 12 lines the lines 11-12 are also missing.

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

How to make a comprehensive set of possibilities for defining GNU-screen “command characters”?

August 9, 2022 by Magenaut

I want to somehow generate a comprehensive “menu” of all possible ways to set up the GNU-screen “command characters” for a standard, off-the-shelf “US keyboard” and a specific terminal emulator, say xfce4-terminal.

Categories Q&A, Unix & Linux Tags gnu-screen, keyboard Leave a comment

Getting WISPr tags from a FON authentication portal

August 9, 2022 by Magenaut

I am doing some investigation around wifi captive portals development.

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

ssh with separate stdin, stdout, stderr AND tty

August 9, 2022 by Magenaut

This local command is the reference point. Let’s assume it successfully processes some binary data:

Categories Q&A, Unix & Linux Tags io-redirection, ssh, sudo, tty Leave a comment

Start a process on a different tty

August 9, 2022 by Magenaut

After about an hour of Googling this, I can’t believe nobody has actually asked this question before…

Categories Q&A, Unix & Linux Tags bash, tty Leave a comment

How can I put a bit mask on /dev/zero so that I can get bytes other than zero?

August 9, 2022 by Magenaut

How can I put a bit mask on /dev/zero so that I can have a source not only for 0x00 but also for any byte between 0x01 and 0xFF?

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

Extract only a specific file from a zipped archive to a given directory

August 9, 2022 by Magenaut

I need to extract a single file from a ZIP file which I know the path to. Is there a command like the following:

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

Can’t apply brightness to terminal’s background color

August 9, 2022 by Magenaut

I have a problem with colors in my terminal emulator. I am using LXTerminal as my terminal emulator and LXDE as my desktop environment.

Categories Q&A, Unix & Linux Tags bash, terminal, terminal-emulator Leave a comment

Most efficient method to empty the contents of a file

August 9, 2022 by Magenaut

I am aware of three methods to delete all entries from a file.

Categories Q&A, Unix & Linux Tags files, shell-script, truncate Leave a comment
Older posts
Newer posts
← Previous Page1 … Page129 Page130 Page131 … 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