Skip to content

Magenaut

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

Unix & Linux

How to launch an application with default “terminal emulator” on Ubuntu?

August 10, 2022 by Magenaut

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop.

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

bi-directional sync with rsync

August 10, 2022 by Magenaut

I am trying to setup bi-direction or two way sync with rsync. In my case I only need to delete the files when syncing from B to A. So, I was thinking of running rsync twice as follow :

Categories Q&A, Unix & Linux Tags rsync, synchronization Leave a comment

ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)

August 10, 2022 by Magenaut

I’m not using hosts.allow or hosts.deny, furthermore SSH works from my windows-machine (same laptop, different hard drive) but not my Linux machine.

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

Is there any way to prevent deletion of certain files from user owned directory?

August 10, 2022 by Magenaut

Let’s say user has Directory1 and it contains File1 File2 CantBeDeletedFile
How to make so the user would never be allowed to delete the CantBeDeletedFile?

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

ls content of a directory ignoring symlinks

August 10, 2022 by Magenaut

I have a directory in which I would like to list all the content (files and sub directories) without showing the symbolic links. I am using GNU utilities on Linux. The ls version is 8.13.

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

How to properly escape exclamation points in bash?

August 10, 2022 by Magenaut

Today, I was caught redhanded while attempting to code golf a password generator for Twitter.

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

31 Debian CDs — Why? and which do I need for a vanilla desktop install?

August 10, 2022 by Magenaut

I’ve been using Linux (Ubuntu) for a couple of months now, and I want to try Debian to see how different it is.

Categories Q&A, Unix & Linux Tags debian, distribution-media, system-installation Leave a comment

How to read first and last line from cat output?

August 10, 2022 by Magenaut

I have text file. Task – get first and last line from file after

Categories Q&A, Unix & Linux Tags awk, bash, grep, sed, shell Leave a comment

Why does /etc/resolv.conf point at 127.0.0.53?

August 10, 2022 by Magenaut

I tried to check what my DNS resolver is and I noticed this:

Categories Q&A, Unix & Linux Tags dns, linux, resolv.conf Leave a comment

How to stop a script from running if it’s not root (and echo “Not running as root! Exiting…”)

August 10, 2022 by Magenaut

Here’s my source:

Categories Q&A, Unix & Linux Tags root, shell-script Leave a comment
Older posts
Newer posts
← Previous Page1 … Page51 Page52 Page53 … 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