Skip to content

Magenaut

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

Unix & Linux

How to print incremental count of occurrences of unique values in column 1

August 6, 2022 by Magenaut

I’m trying to come up with an solution to this problem, I need to incrementally count and then print the counts of the unique values in column 1 of a tab delimited text file. Here is an example:

Categories Q&A, Unix & Linux Tags awk, perl Leave a comment

How many actual developers work on the Linux kernel?

August 6, 2022 by Magenaut

For a study I am doing I was asked how many actual developers commit on a typical kernel version.

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

Reading character by character with bash read

August 6, 2022 by Magenaut

I’ve been trying to use bash to read a file character by character.

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

Is it possible to make seek() operations on a named pipe return successful?

August 6, 2022 by Magenaut

Is there any way to make it so that when programs try to perform seek() operations on a named pipe it will come back successful (but act as if the pipe was an empty file) instead of ‘Illegal seek’?

Categories Q&A, Unix & Linux Tags pipe, syslog Leave a comment

Specify encoding with libreoffice –convert-to csv

August 6, 2022 by Magenaut

Excel files can be converted to CSV using:

Categories Q&A, Unix & Linux Tags character-encoding, conversion, libreoffice, unicode Leave a comment

How to maximize a window programmably in X Window?

August 6, 2022 by Magenaut

I’m wondering if there is any commands or programs to make some window maximized in X Window? For example, what I imagine is something like this

Categories Q&A, Unix & Linux Tags scripting, window-management, x11 Leave a comment

How to “grep” for line length *not* in a given range?

August 6, 2022 by Magenaut

NOTE: This question is the complement of this Q&A: How to “grep” for line length in a given range?

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

How to use less in a script without getting ESC escape characters?

August 6, 2022 by Magenaut

When I use less at the command line the output is like
enter image description here

Categories Q&A, Unix & Linux Tags escape-characters, less, scripting Leave a comment

Output ls -l size field with digits grouped by thousands?

August 6, 2022 by Magenaut

It is possible to make ls -l output the size field with digits grouped by thousands? If so, how?

Categories Q&A, Unix & Linux Tags command-line, linux, locale, ls Leave a comment

How does ‘find -exec’ pass file names with spaces?

August 6, 2022 by Magenaut

If I have a directory containing some files whose names have spaces, e.g.

Categories Q&A, Unix & Linux Tags arguments, bash, find, quoting, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page346 Page347 Page348 … 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