Skip to main content

Mac OS

Create ISO file for Mac OS system (Monterey)

The below commands will help you create the iso file 

this command will download the newest version.

softwareupdate --fetch-full-installer

1- to install MacOS Monterey use the below command 

- softwareupdate --fetch-full-installer --full-installer-version 12.0.1

2- we must create a temporary disk image:

hdiutil create -o /tmp/Monterey -size 12500m -volname Monterey -layout SPUD -fs HFS+J

3- Next, mount the disk image:

How do I find all files containing specific text on Linux?

How do I find all files containing specific text on Linux?

grep -rnw '/path/to/somewhere/' -e 'pattern'
  • -r or -R is recursive,
  • -n is line number, and
  • -w stands for match the whole word.
  • -l (lower-case L) can be added to just give the file name of matching files.
  • -e is the pattern used during the search

Along with these, --exclude--include--exclude-dir flags could be used for eff

Install icu4c version 64 with Homebrew

download the homebrew core first 

git clone https://github.com/Homebrew/homebrew-core.git
 

check current installed version 

brew list --versions icu4c

 

1) cd to Homebrew's formula directory

cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula

2) Find desired commit (version 63 for icu4c) to checkout

git log --follow icu4c.rb

3) Checkout to a new branch