Skip to content

Magenaut

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

bash

Alias and functions

August 10, 2022 by Magenaut

From the bash manual

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

How to recover a backgrounded job from a previous shell?

August 10, 2022 by Magenaut

Possible Duplicate:
How can I disown a running process and associate it to a new screen shell?

Categories Q&A, Unix & Linux Tags background-process, bash, job-control Leave a comment

How to display open file descriptors but not using lsof command

August 10, 2022 by Magenaut

Hi I have read Here that lsof is not an accurate way of getting the number of File Descriptors that are currently open. He recommended to use this command instead

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

How can I get the pid of a subshell?

August 10, 2022 by Magenaut

How can I get the pid of a subshell?

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

Using regex inside if clause in bash

August 10, 2022 by Magenaut

Look at this if block:

Categories Q&A, Unix & Linux Tags bash, regular-expression Leave a comment

Terminating an infinite loop

August 10, 2022 by Magenaut

I have a command that I want to have run again automatically each time it terminates, so I ran something like this:

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

Forcing an ‘added’ alias to every command

August 10, 2022 by Magenaut

Is it possible to forcibly add a timing alias (for lack of a better way to phrase it) to every command in bash?

Categories Q&A, Unix & Linux Tags alias, bash, date, monitoring, time Leave a comment

BashScript works from Terminal but not from CronTab

August 10, 2022 by Magenaut

I’ve got a bunch of CronJobs, and they work fine, except for one. I’ve looked through a lot of forums and websites, and tried a combination of things but alas nothing has worked.

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

sh startup files over ssh

August 10, 2022 by Magenaut

I have some important commands I need to execute before any sh shell starts. This is required for passing SSH commands in the SSH command (ssh host somecommand) and other programs that run commands.

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

Output colored text in all major distros without using non-word color codes (like 33[0;31m)

August 10, 2022 by Magenaut

I found these ways, for example, to output colored text in a simple way to the screen:

Categories Q&A, Unix & Linux Tags bash, colors, distributions, output, stability Leave a comment
Older posts
Newer posts
← Previous Page1 … Page11 Page12 Page13 … 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