Skip to content

Magenaut

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

Unix & Linux

How can I get the page numbers only of a pattern in a pdf file, regardless if the pattern is multiline?

August 8, 2022 by Magenaut

I find the page numbers of a multiline pattern in a pdf file, by How shall I grep a multi-line pattern in a pdf file and in a text file? and How can I search a string in a pdf file, and find the physical page number of each page where the string appears?

Categories Q&A, Unix & Linux Tags awk, grep, pdf, pdfgrep, text-processing Leave a comment

How to block drivers built-into Kernel, i.e. drivers who are not a module

August 8, 2022 by Magenaut

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory.

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

How to force ssh to execute command on the remote system instead of locally

August 8, 2022 by Magenaut

I have SSH executing some commands in a script, like so:

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

How to use variables inside single quotes

August 8, 2022 by Magenaut

I have an application which takes as an input attributes in double quotes embedded in single quotes. Take for example this right command:

Categories Q&A, Unix & Linux Tags quoting, shell, variable Leave a comment

How do I use inotify or named pipes over SSHFS?

August 8, 2022 by Magenaut

Thanks sshfs magic, I can mount my home dir from a remote server with

Categories Q&A, Unix & Linux Tags fifo, inotify, sshfs Leave a comment

How to tell what method was used to log in (Password vs. Keyfile) from the bashrc

August 8, 2022 by Magenaut

Is there a way how you can check what auth method the user which just logged in to an account were using?

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

How to use sed command to modify a file’s entry line by line in shell script?

August 8, 2022 by Magenaut

This is my file1:

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

Is “/etc/issue” common for all Linux distributions?

August 8, 2022 by Magenaut

I’m trying to Create OS detect portable function in bash script,

Categories Q&A, Unix & Linux Tags etc, login, portability Leave a comment

Variable in sed

August 8, 2022 by Magenaut

I have a file that contains filenames with absolute path.

Categories Q&A, Unix & Linux Tags filenames, quoting, sed, shell-script Leave a comment

wpa_supplicant nl80211 hangs linux mint frequently

August 8, 2022 by Magenaut

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It may look different – white screen, black screen, screen freeze.
Checking syslog after hangs brought me the same lines just before system hanged: pastebin, last are:

Categories Q&A, Unix & Linux Tags debugging, freeze, linux-mint, wifi, wpa-supplicant Leave a comment
Older posts
Newer posts
← Previous Page1 … Page231 Page232 Page233 … 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