Skip to content

Magenaut

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

zsh

How do I filter a glob in zsh

August 6, 2022 by Magenaut

Basically I can use a glob in zsh to a list. Often, it turns out, I would like to filter that list, grep’ishly I’m wondering though, if I need to do that.

Categories Q&A, Unix & Linux Tags wildcards, zsh Leave a comment

zsh Interpret/ignore commands beginning with ‘#’ as comments

August 6, 2022 by Magenaut

In bash, if I type a command beginning with a ‘#’, bash ignores it as a comment. Ie, the following is ignored at the bash prompt: > # Hi there! Whereas in zsh: > # Hi there ! zsh: bad pattern: # How can I ask zsh to do the same? This is incredibly useful … Read more

Categories Q&A, Unix & Linux Tags command-line, zsh Leave a comment

zsh is in /usr/bin, but also in /bin, what is the difference?

August 6, 2022 by Magenaut

The /etc/shells says it has zsh installed in /bin/zsh, but also in /usr/bin/zsh.

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

Testing LS_COLORS in zsh

August 6, 2022 by Magenaut

A few years ago I found an interesting code snippet that prints each type of file in its corresponding color according to the colors set up in LS_COLORS. Unfortunately, I can’t remember the link anymore.

Categories Q&A, Unix & Linux Tags colors, ls, zsh Leave a comment
Newer posts
← Previous Page1 … Page6 Page7
  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