Skip to content

Magenaut

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

Unix & Linux

How can I monitor serial port traffic?

August 11, 2022 by Magenaut

Is there any port monitoring tool to watch the packets written on the port? I especially want to check if my program written in Java works so I need some kind of tool to see if my little application is writing the messages to the port. How do I do this?

Categories Q&A, Unix & Linux Tags linux, serial-port Leave a comment

How to tell Linux Kernel > 3.0 to completely ignore a failing disk?

August 11, 2022 by Magenaut

I have a Samsung laptop (Chronos s7) with one SATA hard disk on bus ata:1, which is detected as /dev/sda, an 8G SSD on ata:2, /dev/sdb, and various other devices on the rest of SATA interface.

Categories Q&A, Unix & Linux Tags block-device, linux-kernel Leave a comment

How does curl protect a password from appearing in ps output?

August 11, 2022 by Magenaut

I noticed some time ago that usernames and passwords given to curl as command line arguments don’t appear in ps output (although of course they may appear in your bash history).

Categories Q&A, Unix & Linux Tags arguments, curl, password, ps, security Leave a comment

Redirect a file descriptor before execution

August 11, 2022 by Magenaut

I know that I can change the file a program writes to by interrupting the process in gdb, closing using the file descriptor and then re-opening with the file name I want. Is there a way to do the same thing at run time?

Categories Q&A, Unix & Linux Tags file-descriptors, filenames, files, process Leave a comment

Difference between POSIX, Single UNIX Specification, and Open Group Base Specifications?

August 11, 2022 by Magenaut

What are the differences between POSIX, the Single UNIX Specification, and the Open Group Base Specifications? I think their purpose is for determining if an OS is Unix?

Categories Q&A, Unix & Linux Tags posix Leave a comment

What is the easiest way to add a string on the beginning of every line of the file from the command line?

August 11, 2022 by Magenaut

I am looking for a way to add some string to the beginning of every line (same string for every line).
Not something customizable but rather something that will be easy to remember and available on every POSIX-compliant platform (and every shell as well).

Categories Q&A, Unix & Linux Tags awk, perl, sed, text-processing Leave a comment

Single or Double quotes when defining an alias?

August 11, 2022 by Magenaut

I know that contents of double quotes are expanded, whereas the contents of single quotes are not, such that

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

How are file types known if not from file suffix?

August 11, 2022 by Magenaut

I would like to know how file types are known if filenames don’t have suffixes.

Categories Q&A, Unix & Linux Tags file-opening, files, filesystems, mime-types Leave a comment

Determine what device a directory is located on

August 11, 2022 by Magenaut

If I do

Categories Q&A, Unix & Linux Tags block-device, directory, mount Leave a comment

ps: full command is too long

August 11, 2022 by Magenaut

Good day!

Categories Q&A, Unix & Linux Tags linux, ps Leave a comment
Older posts
Newer posts
← Previous Page1 … Page21 Page22 Page23 … Page371 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