Skip to content

Magenaut

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

Unix & Linux

Shell Script mktemp, what’s the best method to create temporary named pipe?

August 7, 2022 by Magenaut

I’m aware its best to create temporary files with mktemp, but what about named pipes?

Categories Q&A, Unix & Linux Tags linux, pipe, security, shell Leave a comment

How to find out which file is currently opened in vim?

August 7, 2022 by Magenaut

This may sound trivial but, on more than one occasion, I have found myself having forgotten which file in vim I have open (e.g. when I am looking through different log files and such) and the only way I knew how to find out was to close the file and look in the command history for the most recent command.

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

Is there a convenient way to classify files as “binary” or “text”?

August 7, 2022 by Magenaut

Standard Unix utilities like grep and diff use some heuristic to classify files as “text” or “binary”. (E.g. grep‘s output may include lines like Binary file frobozz matches.)

Categories Q&A, Unix & Linux Tags files, text Leave a comment

tmux session lost in unknown pts, cause and possible solution?

August 7, 2022 by Magenaut

I was trying to re-attach to a long-running tmux session to check up on a python web-application. However tmux attach claims that there is no running session, and ps shows a tmux process (first line), but with a question mark instead of the pts number.

Categories Q&A, Unix & Linux Tags process, session, tmux Leave a comment

How to specify key in SSHFS?

August 7, 2022 by Magenaut

I’ve got a question that I’ve not been able to find an answer for. I have two computers, both of which run Ubuntu Linux 12.04. I have set up my first computer (“home”) to be able to SSH into my second computer (“remote”) using public/private RSA key authentication.

Categories Q&A, Unix & Linux Tags key-authentication, ssh, sshfs Leave a comment

bulk rename (or correctly display) files with special characters

August 7, 2022 by Magenaut

I have a bunch of directories and subdirectories that contain files with special characters, like this file:

Categories Q&A, Unix & Linux Tags character-encoding, filenames, rename, shell, ubuntu Leave a comment

How to XZ a directory with TAR using maximum compression?

August 7, 2022 by Magenaut

So I need to compress a directory with max compression.

Categories Q&A, Unix & Linux Tags compression, directory, tar Leave a comment

Limit max connections per IP address and new connections per second with iptables

August 7, 2022 by Magenaut

We have an Ubuntu 12.04 server with httpd on port 80 and we want to limit:

Categories Q&A, Unix & Linux Tags iptables, limit Leave a comment

What do the large computers that real terminals were connected to look like?

August 7, 2022 by Magenaut

I am studying the history of computers to better understand why Linux terminals work the way they do. I have read that in the mid 1970’s to the mid 1980’s, most people used real terminals (as opposed to terminal emulators) to communicate with large computers, this is an example of a real terminal:

Categories Q&A, Unix & Linux Tags history, terminal Leave a comment

What is in /dev, /proc and /sys?

August 7, 2022 by Magenaut

After mount there are listed some filesystems. I need to know what’s in the /dev, /proc and /sys. Some examples would be great!

Categories Q&A, Unix & Linux Tags filesystems, mount Leave a comment
Older posts
Newer posts
← Previous Page1 … Page282 Page283 Page284 … 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