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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

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

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright