Skip to content

Magenaut

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

bash

Dashes in printf

August 10, 2022 by Magenaut

I’m trying to use printf to format some pretty output in a bash script

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

Splitting string by the first occurrence of a delimiter

August 10, 2022 by Magenaut

I have a string in the next format

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

reason for exec in wrapper scripts

August 10, 2022 by Magenaut

I have seen wrapper script examples which in a nutshell are following:

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

How do I add X days to date and get new date?

August 10, 2022 by Magenaut

I have Linux ( RH 5.3) machine

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

bash multi line command with comments after the continuation character

August 10, 2022 by Magenaut

Consider

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

How to open terminal, split to 9 terminals and switch between them using one script?

August 10, 2022 by Magenaut

I would like to open a terminal, split it to lets say 9 parts (3×3) and execute some bash script. But for each terminal part different script.

Categories Q&A, Unix & Linux Tags bash, gnome-terminator, perl, shell-script, terminal Leave a comment

Check if $REPLY is in a range of numbers

August 10, 2022 by Magenaut

I’m writing a shell script for Linux, using Bash, to translate any video-file into a MP4. For that, I’m using avconv with libvorbis for audio.

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

Pipe to multiple files in the shell

August 10, 2022 by Magenaut

I have an application which will produce a large amount of data which I do not wish to store onto the disk. The application mostly outputs data which I do not wish to use, but a set of useful information that must be split into separate files. For example, given the following output:

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

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
Older posts
Newer posts
← Previous Page1 … Page17 Page18 Page19 … Page65 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