• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Mac

brew: Package manager for macOS and Linux

by admin

The brew command is a package manager designed for macOS and Linux operating systems. It provides a convenient way to install, update, and manage software packages and libraries on your system. Originally created for macOS, brew has gained popularity among Linux users as well, thanks to the availability of Linuxbrew, a version of brew specifically […]

Filed Under: Linux, Mac

brew –cask: CLI workflow for the administration of macOS applications distributed as binaries

by admin

The brew –cask command is a CLI (Command-Line Interface) workflow for the administration of macOS applications distributed as binaries. It is part of the Homebrew package manager, which is a popular tool for managing software packages on macOS. Prior to the introduction of the brew –cask command, there was a separate command called brew cask […]

Filed Under: Mac

brew bundle: Bundler for Homebrew, Homebrew Cask and the Mac App Store

by admin

The brew bundle command is a bundler for Homebrew, Homebrew Cask, and the Mac App Store. It is part of the Homebrew package manager, which is a popular tool for managing software packages on macOS. The brew bundle command allows you to define and manage a “bundle” file that specifies a list of dependencies and […]

Filed Under: Mac

homeshick: command not found

by Deepika

homeshick is a command line tool that allows you to synchronize your “dotfiles” (i.e. configuration files that are typically stored in your home directory and begin with a “.” like .bashrc) across multiple computers using Git. It’s a simple and powerful way to keep your personal configurations in version control and easily replicate them on […]

Filed Under: Mac

homeshick Command Examples in Mac

by Deepika

homeshick is a command line tool that allows you to synchronize your “dotfiles” (i.e. configuration files that are typically stored in your home directory and begin with a “.” like .bashrc) across multiple computers using Git. It’s a simple and powerful way to keep your personal configurations in version control and easily replicate them on […]

Filed Under: Mac

hdiutil Command Examples in Mac

by admin

hdiutil works with disk images, such as ISO or DMG files downloaded from the Internet. You can mount, unmount, create, resize, verify, and even burn images onto discs. To mount an ISO file mydisk.iso as a volume and access its contents, run: # hdiutil attach mydisk.iso # ls /Volumes MyDisk hdiutil Command Examples 1. Creating […]

Filed Under: Linux, Mac

Understanding Mac file timestamps

by admin

Each file has three timestamps associated with it (stored as the number of seconds since the Epoch, Jan 1, 1970). The three timestamps are: Access time (atime): The timestamp when the file was last accessed. Modification time (mtime): The timestamp when the file was last modified. Change time (-ctime): The timestamp when the metadata for […]

Filed Under: Linux, Mac

Mac Terminal diskutil Command Examples

by admin

The diskutil command operates on disk partitions: mounting and unmounting, getting information, renaming, erasing, and more. Read-only operations can be done by any user, but writing and mounting require an administrator. For example, if you have a portable USB drive mounted: $ df -h /Volumes/MyUSB Filesystem Size Used Avail Capacity Mounted on /dev/disk1s2 1.8Ti 813Mi […]

Filed Under: Linux, Mac

Mac Terminal vi[m] Editor Commands

by admin

A text editor is an application that enables you to view, create, or modify the contents of text files. Text editors were originally created to write programs in source code, but are now used to edit a wide variety of text-based files. Various types of text editors are compatible with Linux. However, text editors do […]

Filed Under: Linux, Mac

How to Install dmg File on Mac from Command Line

by admin

Installing software is the most common way to customize your Mac so that it can perform the tasks you need. When downloading and installing software from the Internet, make sure that you trust the source to avoid infecting your computer with malware by mistake. Many applications are distributed as disk images, a compressed binary format. […]

Filed Under: Linux, Mac

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright