Skip to content

Magenaut

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

Unix & Linux

Bash converting date in a csv file with awk or other linux tool (csvcut)

August 9, 2022 by Magenaut

2017-02-03

Categories Q&A, Unix & Linux Tags awk, csv, linux, text-processing Leave a comment

Using sed with special characters

August 9, 2022 by Magenaut

I have a directory full of XML files that look like this, for which I want to change the value of the “offset” element number from 1 to some other number

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

How to cycle through reverse-i-search in BASH?

August 9, 2022 by Magenaut

In the terminal, I can type Ctrl + R to search for a matching command previously typed in BASH. E.g., if I type Ctrl + R then grep, it lists my last grep command, and I can hit enter to use it. This only gives one suggestion though. Is there any way to cycle through other previously typed matching commands?

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

Why do I need to do resize2fs after lvextend?

August 9, 2022 by Magenaut

For resizing LVM2 partition, one needs to perform the following 2 commands:

Categories Q&A, Unix & Linux Tags partition, resize2fs Leave a comment

samba how to display files with colon in their names?

August 9, 2022 by Magenaut

Samba does not display files correctly when they contain a colon.

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

How to determine what filesystem a directory exists on?

August 9, 2022 by Magenaut

I have an NFS share which is shared across about two other machines. I recently realized that one of the servers isn’t sharing the directory and is keeping files all for itself. Is there a way to see if the NFS share is mounted in the directory I think it is in?

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

Why do I sometimes get repeatedly prompted with “>” in the terminal?

August 9, 2022 by Magenaut

Alright, when I run certain commands the wrong way, (misspelled, etc.) The terminal outputs this: > instead of computername:workingfolder username$, and when I type enter it goes like this:

Categories Q&A, Unix & Linux Tags bash, command-line, prompt, shell Leave a comment

How to stop the loop bash script in terminal?

August 9, 2022 by Magenaut

For example,

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

Multiseat X setup with a single dual head graphics card

August 9, 2022 by Magenaut

I am considering trying to setup a multiseat system. It seems like this would be pretty straight forward if I had two graphics cards or if I didn’t need hardware based OpenGL acceleration. Is it possible to setup a multi seat system with only a single dual-headed graphics card?

Categories Q&A, Unix & Linux Tags multiseat, xorg Leave a comment

Using ‘sed’ to find and replace

August 9, 2022 by Magenaut

The few, the brave.

Categories Q&A, Unix & Linux Tags sed, shell-script, text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page118 Page119 Page120 … 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