Skip to content

Magenaut

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

osx

Where does Mac OS X come from?

August 11, 2022 by Magenaut

Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where?

Categories Q&A, Unix & Linux Tags bsd, freebsd, osx Leave a comment

grep strange behaviour with single letter words

August 11, 2022 by Magenaut

I am removing stop words from a text, roughly using this
code

Categories Q&A, Unix & Linux Tags freebsd, grep, osx Leave a comment

Disabling CNA in MacOS

August 10, 2022 by Magenaut

I am doing some experiences/investigation into captive networks/the WISPr protocol. (see Getting WISPr tags from a FON authentication portal )

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

How to make bash put prompt on a new line after cat command?

August 10, 2022 by Magenaut

What I get:

Categories Q&A, Unix & Linux Tags bash, cat, osx, prompt Leave a comment

Making “at” work on macOS

August 10, 2022 by Magenaut

I am working on a CentOS server and schedule a task with command at

Categories Q&A, Unix & Linux Tags at, centos, osx Leave a comment

pgrep and pkill alternatives on mac os x?

August 10, 2022 by Magenaut

Are there alternatives to pgrep and pkill commands on Mac OS X or should I just create aliases for them using other commands available for me?

Categories Q&A, Unix & Linux Tags grep, kill, osx Leave a comment

Directory size calculation difference

August 9, 2022 by Magenaut

I need to get the size of directory in terminal for signing purposes. I’m using following command:

Categories Q&A, Unix & Linux Tags disk-usage, osx Leave a comment

Man page quotation characters

August 9, 2022 by Magenaut

I’ve just been looking through a few man pages for a few different commands including grep and ifconfig. I’ve noticed over a few pages, the content uses a strange syntax to notate what i think are quotations (back-tick followed by a single or double quote): `text' Why can’t they use ‘ or ” to open … Read more

Categories Q&A, Unix & Linux Tags locale, man, osx, quoting, roff Leave a comment

Check if process is running Mac OS X then execute code

August 9, 2022 by Magenaut

I am creating a script which clears the cache for Google Chrome. However, I would like to check if Chrome is open and if so not run the code but if it isn’t then it will execute the code. I can see that the Process Name is Google Chrome but the code doesn’t work.

Categories Q&A, Unix & Linux Tags macintosh, osx, shell-script Leave a comment

sed on OSX insert at a certain line

August 9, 2022 by Magenaut

So I’ve been using ‘sed’ on linux for a while, but have had a bit of difficulty trying to use it on OSX since ‘POSIX sed’ and ‘GNU sed’ have so many little differences. Currently I’m struggling with how to insert a line of text after a certain line number. (in this case, line 4)

Categories Q&A, Unix & Linux Tags gnu, osx, posix, sed Leave a comment
Older posts
Page1 Page2 … Page4 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