Skip to content

Magenaut

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

shell

Do GUIs represent a type of separate shell?

August 8, 2022 by Magenaut

When I install some Linux distros with a GUI, they come with the shells sh and Bash. The CLI let you operate the system through sh and Bash, but what about the GUI? Does the GUI let you operate the system through sh and Bash or it has it’s own shell to intermediate between you and the kernel?

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

Grep of many keywords over many files: speeding it up

August 8, 2022 by Magenaut

I am currently facing a “performance problem” while using grep. I am trying to locate the occurrences of many (10,000+) keywords in many (think Linux kernel repository size) files.
The objective is to generate a kind of index for each keyword:

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

Which are the standard commands available in every Linux based distribution?

August 7, 2022 by Magenaut

I would like to know which are the standard commands available in every Linux system.

Categories Q&A, Unix & Linux Tags command, linux, shell, shell-script, standard Leave a comment

My echo command doesn’t accept switches (echo -n or echo -e)

August 7, 2022 by Magenaut

I have an echo statement in my script as below:

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

How do you output a list of all man pages in a particular section?

August 7, 2022 by Magenaut

A man page for fork, for example, is in the System Calls section that has number 2:

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

Shell, Concatenating 2 strings to reference a 3rd variable

August 7, 2022 by Magenaut

I am trying to do the following in my script:

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

How to check if there are no parameters provided to a command?

August 7, 2022 by Magenaut

How do you check if $* is empty? In other words, how to check if there were no arguments provided to a command?

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

How can I echo dollar signs?

August 7, 2022 by Magenaut

For example, $PATH and $HOME

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

Check if script is started by cron, rather than invoked manually

August 7, 2022 by Magenaut

Is there any variable that cron sets when it runs a program ? If the script is run by cron, I would like to skip some parts; otherwise invoke those parts.

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

Check if a folder has a certain type of file present

August 7, 2022 by Magenaut

How could I check if a file has a file of extension .java?

Categories Q&A, Unix & Linux Tags files, shell, wildcards Leave a comment
Older posts
Newer posts
← Previous Page1 … Page35 Page36 Page37 … 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