Skip to content

Magenaut

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

command-line

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 to gather byte occurrence statistics in binary file?

August 10, 2022 by Magenaut

I’d like to know the equivalent of

Categories Q&A, Unix & Linux Tags binary, command-line, files, statistics Leave a comment

Where has the trailing newline char gone from my command substitution?

August 10, 2022 by Magenaut

The following code best describes the situation.  Why is the last line not outputting the trailing newline char?  Each line’s output is shown in the comment.  I’m using GNU bash, version 4.1.5

Categories Q&A, Unix & Linux Tags command-line, command-substitution, shell, text-processing Leave a comment

What is meant by a shell is in “vi” mode or “emacs” mode?

August 10, 2022 by Magenaut

This question follows directly from the answer. In this case I am specifically unable to understand the part which says:

Categories Q&A, Unix & Linux Tags command-line, keyboard-shortcuts, shell, vi-mode, vim Leave a comment

How to check password with Linux?

August 10, 2022 by Magenaut

I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow

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

How do I make my pc speaker beep

August 10, 2022 by Magenaut

Using bash, how can I make the pc speaker beep?

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

How do I count the number of occurrences of a word in a text file with the command line?

August 10, 2022 by Magenaut

I have a large JSON file that is on one line, and I want to use the command line to be able to count the number of occurrences of a word in the file. How can I do that?

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

What does <<< mean?

August 10, 2022 by Magenaut

What does <<< mean? Here is an example: $ sed 's/a/b/g' <<< "aaa" bbb Is it something general that works with more Linux commands? It looks like it’s feeding the sed program with the string aaa, but isn’t << or < usually used for that? Answers: Thank you for visiting the Q&A section on Magenaut. … Read more

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

How to pass the output of one command as the command-line argument to another?

August 10, 2022 by Magenaut

So I have a script that, when I give it two addresses, will search two HTML links:

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

How to move and overwrite subdirectories (and files) to parent directory?

August 10, 2022 by Magenaut

I have a ton of files and dirs in a subdirectory I want to move to the parent directory. There are already some files and dirs in the target directory which need to be overwritten. Files that are only present in the target should be left untouched. Can I force mvto do that? It (mv * ..) complains

Categories Q&A, Unix & Linux Tags command-line, files, shell Leave a comment
Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 … 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