Skip to content

Magenaut

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

Unix & Linux

What is a fast command line way to switch between multiple directories for system administration?

August 10, 2022 by Magenaut

What is a fast command line way to switch between multiple directories for system administration? I mean, I can use pushd . and popd to toggle, but what if I want to store multiples and cycle through them, rather than permanently popping them off the bottom of the stack?

Categories Q&A, Unix & Linux Tags administration, bash, shell-script Leave a comment

How can I download a file from a host I can only SSH to through another host?

August 10, 2022 by Magenaut

I want to download files from my office computer to my laptop.

Categories Q&A, Unix & Linux Tags scp, ssh Leave a comment

Why the behavior of while loop and for loop is different?

August 10, 2022 by Magenaut

I am trying to read user and server details from file tempo.txt and then check the disk space usage of the file system on that unix account using another script server_disk_space.sh.But I am not able to figure out why while loop is only working for first line and for loop is working fine.Please help me understand this.

Categories Q&A, Unix & Linux Tags for, input, io-redirection, shell Leave a comment

What’s the difference between “s” and “S” in ls -la?

August 10, 2022 by Magenaut

When I ls -la, it prints many attributes. Something like this:

Categories Q&A, Unix & Linux Tags ls, permissions Leave a comment

Piping STDERR vs. STDOUT

August 10, 2022 by Magenaut

According to “Linux: The Complete Reference 6th Edition” (pg. 44), you can pipe only STDERR using the |& redirection symbols.

Categories Q&A, Unix & Linux Tags bash, io-redirection, pipe Leave a comment

find words with all vowels in order from a file

August 10, 2022 by Magenaut

I have a large dictionary file with 300,000+ words in it and I’m trying to find all words with the vowels aeiou in that order and have only exactly 5 vowels. My current attempt does not seem to be working and for the life of me I don’t understand why.

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

Is there an equivalent of GNU Screen’s “log” command in tmux?

August 10, 2022 by Magenaut

I make heavy use of screen’s “log” command to log the output of a session to a file, when I am making changes in a given environment. I searched through tmux’s man page, but couldn’t find an equivalent. Is anyone aware of a similar feature in tmux, or do I have to write my own wrapper scripts to do this?

Categories Q&A, Unix & Linux Tags gnu-screen, logs, tmux Leave a comment

How to find application’s path from command line?

August 10, 2022 by Magenaut

For example, I have git installed on my system.
But I don’t remember where I installed it, so which command is fit to find this out?

Categories Q&A, Unix & Linux Tags system-calls, terminal Leave a comment

Integration of afuse user-level automounter with sshfs as a systemd service spawned from login for local users

August 10, 2022 by Magenaut

Edit 2020: I’ve been using the systemd-answer posted below for several years now, and am quite happy with it.

Categories Q&A, Unix & Linux Tags automounting, linux, scripting, sshfs, systemd Leave a comment

Setting DISPLAY in systemd service file

August 10, 2022 by Magenaut

I’m trying to learn systemd services by trying to start xclock as a service; the service file is below

Categories Q&A, Unix & Linux Tags opensuse, systemd Leave a comment
Older posts
Newer posts
← Previous Page1 … Page48 Page49 Page50 … 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