Skip to content

Magenaut

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

shell

What’s the most resource efficient way to count how many files are in a directory?

August 10, 2022 by Magenaut

CentOS 5.9

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

“not a valid identifier” when I do “export $PATH”

August 10, 2022 by Magenaut

When I run export $PATH in bash, I get the error not a valid identifier. Why?

Categories Q&A, Unix & Linux Tags bash, environment-variables, shell Leave a comment

What happens if you edit a script during execution?

August 10, 2022 by Magenaut

I have a general question, which might be a result of misunderstanding of how processes are handled in Linux.

Categories Q&A, Unix & Linux Tags bash, linux, process-management, shell Leave a comment

Starting with bash: -lt and -gt arguments

August 10, 2022 by Magenaut

I’m starting with bash and I found the following:

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

When do you need ‘nohup’ if you’re already forking using ‘&’?

August 10, 2022 by Magenaut

First this question is related but definitely not the same as this very nice question:

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

Is there an easy way to programmatically extract IP address?

August 10, 2022 by Magenaut

NIC device handles

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

Avoiding “BASH-isms” in shell scripts

August 10, 2022 by Magenaut

Does there exist a tool similar to Perl::Critic that will inspect your shell scripts and point out flaws, portability issues, uses of non-standard programs without fallbacks, depreciated program uses, etc?

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

Understanding directory symlinks traversals and the parent directory

August 10, 2022 by Magenaut

Let’s say you have directories /dir1 and /dir2/linked, where the latter is a symlink to the former.

Categories Q&A, Unix & Linux Tags cd-command, directory, shell, symlink Leave a comment

What is the difference in usage between shell variables and environment variables?

August 10, 2022 by Magenaut

I actually did not know there are two different types of variables I can access from the command line. All I knew is, that I can declare variables like:

Categories Q&A, Unix & Linux Tags command-line, environment-variables, shell Leave a comment

Where is the fork() on the fork bomb :(){ :|: & };:?

August 10, 2022 by Magenaut

Warning: Running this command in most shells will result in a broken system that will need a forced shutdown to fix

Categories Q&A, Unix & Linux Tags linux, shell, system-calls Leave a comment
Older posts
Newer posts
← Previous Page1 … Page16 Page17 Page18 … 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