Skip to content

Magenaut

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

command-line

Why should ‘Character Classes’ be preferred over ‘Character Ranges’ In Shell (Bash)?

August 8, 2022 by Magenaut

The Linux Command Line (Book – page count 47) says:

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

Is there a way to see details of all the threads that a process has in Linux?

August 8, 2022 by Magenaut

For Windows, I think Process Explorer shows you all the threads under a process.

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

Why a long delay after command not found?

August 8, 2022 by Magenaut

Often when I mistype a command such as ls (e.g. I hit ENTER before I type ‘s’) there is a long (~2s) delay after the terminal displays:

Categories Q&A, Unix & Linux Tags bash, command-line, command-not-found, fedora Leave a comment

Limiting processes to not exceed more than 10% of CPU usage

August 8, 2022 by Magenaut

I operate a Linux system which has a lot of users but sometimes an abuse occurs; where a user might run a single process that uses up more than 80% of the CPU/Memory.

Categories Q&A, Unix & Linux Tags centos, command-line, cpu, limit Leave a comment

Is it possible to reference the most recently modified file in a command line argument?

August 8, 2022 by Magenaut

I frequently download PDF files with heinous numeric file names from my browser. These automatically go into ~/Downloads. Ideally I would like to just be able to open these files with:

Categories Q&A, Unix & Linux Tags bash, command-line, date, files, wildcards Leave a comment

How does the “tail” command’s “-f” parameter work?

August 8, 2022 by Magenaut

$ tail -f testfile the command is supposed to show the latest entries in the specified file, in real-time right? But that’s not happening. Please correct me, if what I intend it to do is wrong… I created a new file “aaa” and added a line of text and closed it. then issued this command … Read more

Categories Q&A, Unix & Linux Tags command-line, monitoring, tail Leave a comment

When I redirect the output of ls to a file, the filename is included in that file. How can I avoid this?

August 8, 2022 by Magenaut

Observe:

Categories Q&A, Unix & Linux Tags command-line, io-redirection, ls, shell Leave a comment

How to asynchronously launch external program from cli and discard its output?

August 8, 2022 by Magenaut

I’m writing a simple desktop initiation script which waits for disk idle, and then launches next external program (like Firefox, Skype or conky) using &, like:

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

How to cause kernel panic with a single command?

August 8, 2022 by Magenaut

Is it possible to cause a kernel panic with a single command line?

Categories Q&A, Unix & Linux Tags command-line, kernel, kernel-panic Leave a comment

How to set shell to wrap words for long commands?

August 8, 2022 by Magenaut

I connect to a Slackware server. When a command is longer than the size of the putty window, the line continues in the same line, and the start of the command disappears as I continue adding to the same command, just putting a “<” at the beginning of the line.

Categories Q&A, Unix & Linux Tags command-line, linux, prompt, terminal Leave a comment
Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … Page23 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