Skip to content

Magenaut

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

Unix & Linux

Do we have an undo in Linux?

August 10, 2022 by Magenaut

I renamed a few files in one batch script. Is there a way to undo the changes without having to rename them back?

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

Understanding directory symlinks traversals and the parent directory

August 10, 2022 by Magenaut

Let’s say you have directories /dir1 and /dir2/linked, where the latter is a symlink to the former.

Categories Q&A, Unix & Linux Tags cd-command, directory, shell, symlink Leave a comment

${!FOO} and zsh

August 10, 2022 by Magenaut

${!FOO} performs a double substitution in bash, meaning it takes the (string) value of FOO and uses it as a variable name.
zsh doesn’t support this feature.

Categories Q&A, Unix & Linux Tags bash, for, variable-substitution, zsh Leave a comment

Ubuntu Service samba is masked and can’t start

August 10, 2022 by Magenaut

i’m trying to run samba service on Ubuntu server and it gives me erros and says its masked and dead, how do i fix that ? what does cause it to be like this?

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

How do I know that my CPU supports 64bit operating systems under Linux?

August 10, 2022 by Magenaut

How can I find out that my CPU supports 64bit operating systems under Linux, e.g.: Ubuntu, Fedora?

Categories Q&A, Unix & Linux Tags 64bit, linux, x86 Leave a comment

What is the best way to add a permanent route?

August 10, 2022 by Magenaut

I need to add a route that won’t be deleted after reboot. I read these two ways of doing it :

Categories Q&A, Unix & Linux Tags centos, debian, rhel, route Leave a comment

How to display the Linux kernel command line parameters given for the current boot?

August 10, 2022 by Magenaut

In the grub.conf configuration file I can specify command line parameters that the kernel will use, i.e.:

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

How do I know where to put things in linux?

August 10, 2022 by Magenaut

Installing something in windows takes a click of a button. But every time I try to install something in linux, which is not found in APT, I get so confused.

Categories Q&A, Unix & Linux Tags directory-structure, software-installation Leave a comment

How to pipe the list of commands displayed by of “tab complete”?

August 10, 2022 by Magenaut

When using commands in bash I like the double tab option to display the available commands. Some commands have more possible matches than others:

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

parse one field from an JSON array into bash array

August 10, 2022 by Magenaut

I have a JSON output that contains a list of objects stored in a variable. (I may not be phrasing that right)

Categories Q&A, Unix & Linux Tags array, bash, json, shell-script, ubuntu Leave a comment
Older posts
Newer posts
← Previous Page1 … Page96 Page97 Page98 … 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