Skip to content

Magenaut

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

Unix & Linux

How to get milliseconds since Unix epoch?

August 7, 2022 by Magenaut

I want to do a bash script that measures the launch time of a browser for that I am using an html which gets the time-stamp on-load in milliseconds using JavaScript.

Categories Q&A, Unix & Linux Tags bash, timestamps Leave a comment

Remove unused packages

August 7, 2022 by Magenaut

I have installed some rpm package on my Fedora 17. Some packages had a lot of dependencies.
I have removed some packages but I forgot remove unused dependencies with yum remove.

Categories Q&A, Unix & Linux Tags rpm, yum Leave a comment

How do you do a dry run of rm to see what files will be deleted?

August 7, 2022 by Magenaut

I want to see what files will be deleted when performing an rm in linux. Most commands seem to have a dry run option to show just such information, but I can’t seem to find such an option for rm. Is this even possible?

Categories Q&A, Unix & Linux Tags file-management, rm Leave a comment

How can I view diffs or at least older versions of specific files with etckeeper?

August 7, 2022 by Magenaut

So I’m using etckeeper on my machine running Debian 9.1 with KDE and would like to view diffs (or if that isn’t yet implemented: past versions) of specific files. How can I do that?

Categories Q&A, Unix & Linux Tags debian, diff, etckeeper, git, version-control Leave a comment

Delete last line from the file

August 7, 2022 by Magenaut

I use sed to quickly delete lines with specific position as

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

Difference between 2>&1 > output.log and 2>&1 | tee output.log

August 7, 2022 by Magenaut

I wanted to know the difference between the following two commands

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

Why and how are some shared libraries runnable, as though they are executables?

August 7, 2022 by Magenaut

On 32-bit Linux systems, invoking this

Categories Q&A, Unix & Linux Tags executable, glibc, linux, shared-library, version Leave a comment

Open a file given by the result of a command in vim

August 7, 2022 by Magenaut

I find myself doing the following almost every day

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

Is it possible to find out the hosts in the known_hosts file?

August 7, 2022 by Magenaut

I would like to see what hosts are in my known_hosts file but it doesn’t appear to be human readable. Is it possible to read it?

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

Using a load balancer instead of Apache to throttle transactions from specific IP’s

August 7, 2022 by Magenaut

I have two Apache instances behind a load balancer that I transfer the requests to, depending on the request type.

Categories Q&A, Unix & Linux Tags apache-httpd, load-balancing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page272 Page273 Page274 … 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