Skip to content

Magenaut

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

shell

Why does a brace command group need spaces after the opening brace in POSIX Shell Grammar?

August 8, 2022 by Magenaut

TL;DR: Why does POSIX brace group need spaces after { reserved word but subshell doesn’t after reserved word (?

Categories Q&A, Unix & Linux Tags posix, shell, subshell, syntax Leave a comment

What are commands to find shell keywords, built in functions and user defined functions?

August 8, 2022 by Magenaut

I was discussing with my friend on how the commands are parsed in the shell, and he told me that bash searches the command in following order

Categories Q&A, Unix & Linux Tags alias, command, function, shell Leave a comment

How to apply recursively chmod directories without affecting files?

August 8, 2022 by Magenaut

After I apply chmod -R to a directory, permissions are changed for everything within (files and directories). How can I add execute/search (x) permissions to directories without modifying the files?

Categories Q&A, Unix & Linux Tags chmod, find, shell Leave a comment

Extract date from a variable in a different format

August 8, 2022 by Magenaut

Let me explain you the problem

Categories Q&A, Unix & Linux Tags date, shell, string Leave a comment

Shell programming, avoiding tempfiles

August 8, 2022 by Magenaut

I often write KSH shell scripts that follow the same pattern:

Categories Q&A, Unix & Linux Tags ksh, scripting, shell Leave a comment

How do I temporarily bypass an alias in tcsh?

August 8, 2022 by Magenaut

I am using tcsh. bash and zsh and other suggestions won’t help here.

Categories Q&A, Unix & Linux Tags alias, shell, tcsh Leave a comment

How does ssh run a command?

August 8, 2022 by Magenaut

I’m using Bash on both client and server. When running a command over SSH:

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

Test for array support by shell

August 8, 2022 by Magenaut

Is there a concise way of testing for array support by the local Bourne-like shell at command line ?

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

Changing the default shell without chsh or administrator privileges

August 8, 2022 by Magenaut

I saw the following snippet in this thread: How to change from csh to bash as default shell

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

Remove empty directory trees (removing as many directories as possible but no files)

August 8, 2022 by Magenaut

Suppose I have a dir tree like this:

Categories Q&A, Unix & Linux Tags directory, rm, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page28 Page29 Page30 … Page46 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