a*, g*, i*, osx[a*-i*]: add more information links (#6342)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
> Audio file metadata parser for OS X.
|
||||
> Built-in command of OS X.
|
||||
> More information: <https://ss64.com/osx/afinfo.html>.
|
||||
|
||||
- Display info of a given audio file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# afplay
|
||||
|
||||
> Command-line audio player.
|
||||
> More information: <https://ss64.com/osx/afplay.html>.
|
||||
|
||||
- Play a sound file (waits until playback ends):
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# airport
|
||||
|
||||
> Wireless network configuration utility.
|
||||
> More information: <https://ss64.com/osx/airport.html>.
|
||||
|
||||
- Show current wireless status information:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# apachectl
|
||||
|
||||
> Apache HTTP Server control interface for macOS.
|
||||
> More information: <https://www.unix.com/man-page/osx/8/apachectl/>.
|
||||
|
||||
- Start the `org.apache.httpd` launchd job:
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
> Display the name of the system architecture, or run a command under a different architecture.
|
||||
> See also `uname`.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/arch/>.
|
||||
|
||||
- Display the system's architecture:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# archey
|
||||
|
||||
> Simple tool for stylishly displaying system information.
|
||||
> More information: <https://github.com/joshfinnie/archey-osx>.
|
||||
|
||||
- Show system information:
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
> Portable GNU assembler.
|
||||
> Primarily intended to assemble output from `gcc` to be used by `ld`.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/as/>.
|
||||
|
||||
- Assemble a file, writing the output to `a.out`:
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
> Restore (copy) a disk image onto a volume.
|
||||
> The command name stands for Apple Software Restore.
|
||||
> More information: <https://www.unix.com/man-page/osx/8/asr/>.
|
||||
|
||||
- Restore a disk image to a target volume:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# base64
|
||||
|
||||
> Encode and decode using Base64 representation.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/base64/>.
|
||||
|
||||
- Encode a file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# caffeinate
|
||||
|
||||
> Prevent macOS from sleeping.
|
||||
> More information: <https://ss64.com/osx/caffeinate.html>.
|
||||
|
||||
- Prevent from sleeping for 1 hour (3600 seconds):
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# cal
|
||||
|
||||
> Prints calendar information.
|
||||
> More information: <https://ss64.com/osx/cal.html>.
|
||||
|
||||
- Display a calendar for the current month:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# carthage
|
||||
|
||||
> A dependency management tool for Cocoa applications.
|
||||
> More information: <https://github.com/Carthage/Carthage>.
|
||||
|
||||
- Download the latest version of all dependencies mentioned in Cartfile, and build them:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# chflags
|
||||
|
||||
> Change file or directory flags.
|
||||
> More information: <https://ss64.com/osx/chflags.html>.
|
||||
|
||||
- Set the `hidden` flag for a file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# codesign
|
||||
|
||||
> Create and manipulate code signatures for macOS.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/codesign/>.
|
||||
|
||||
- Sign an application with a certificate:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# compgen
|
||||
|
||||
> A built-in command for auto-completion in Bash, which is called on pressing TAB key twice.
|
||||
> More information: <https://www.cyberciti.biz/open-source/command-line-hacks/compgen-linux-command/>.
|
||||
|
||||
- List all commands that you could run:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# date
|
||||
|
||||
> Set or display the system date.
|
||||
> More information: <https://ss64.com/osx/date.html>.
|
||||
|
||||
- Display the current date using the default locale's format:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# dd
|
||||
|
||||
> Convert and copy a file.
|
||||
> More information: <https://ss64.com/osx/dd.html>.
|
||||
|
||||
- Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`):
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# diskutil
|
||||
|
||||
> Utility to manage local disks and volumes.
|
||||
> More information: <https://ss64.com/osx/diskutil.html>.
|
||||
|
||||
- List all currently available disks, partitions and mounted volumes:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# ditto
|
||||
|
||||
> Copy files and directories.
|
||||
> More information: <https://ss64.com/osx/ditto.html>.
|
||||
|
||||
- Overwrite contents of destination directory with contents of source directory:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# drutil
|
||||
|
||||
> Interact with DVD burners.
|
||||
> More information: <https://ss64.com/osx/drutil.html>.
|
||||
|
||||
- Eject a disk from the drive:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# du
|
||||
|
||||
> Disk usage: estimate and summarize file and directory space usage.
|
||||
> More information: <https://ss64.com/osx/du.html>.
|
||||
|
||||
- List the sizes of a directory and any subdirectories, in the given unit (KB/MB/GB):
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# duti
|
||||
|
||||
> Set default applications for document types and URL schemes on macOS.
|
||||
> More information: <https://github.com/moretension/duti>.
|
||||
|
||||
- Set Safari as the default handler for HTML documents:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# eval
|
||||
|
||||
> Execute arguments as a single command in the current shell and return its result.
|
||||
> More information: <https://ss64.com/osx/eval.html>.
|
||||
|
||||
- Call `echo` with the "foo" argument:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# export
|
||||
|
||||
> Command to mark shell variables in the current environment to be exported with any newly forked child processes.
|
||||
> More information: <https://ss64.com/osx/export.html>.
|
||||
|
||||
- Set a new environment variable:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# fc
|
||||
|
||||
> Open the most recent command and edit it.
|
||||
> More information: <https://ss64.com/osx/fc.html>.
|
||||
|
||||
- Open in the default system editor:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# fdesetup
|
||||
|
||||
> Set and retrieve FileVault related information.
|
||||
> Main information: <https://www.unix.com/man-page/mojave/8/fdesetup/>.
|
||||
|
||||
- List current FileVault enabled users:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# feh
|
||||
|
||||
> Lightweight image viewing utility.
|
||||
> More information: <https://github.com/derf/feh>.
|
||||
|
||||
- View images locally or using a URL:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# file
|
||||
|
||||
> Determine file type.
|
||||
> More information: <https://github.com/file/file>.
|
||||
|
||||
- Give a description of the type of the specified file. Works fine for files with no file extension:
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
> Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run.
|
||||
> It is a wrapper that calls `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, and `fsck_udf` as needed.
|
||||
> More information: <https://ss64.com/osx/fsck.html>.
|
||||
|
||||
- Check filesystem `/dev/sdX`, reporting any damaged blocks:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# GetFileInfo
|
||||
|
||||
> Get information about a file in an HFS+ directory.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/GetFileInfo/>.
|
||||
|
||||
- Display information about a given file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# hdiutil
|
||||
|
||||
> Utility to create and manage disk images.
|
||||
> More information: <https://ss64.com/osx/hdiutil.html>.
|
||||
|
||||
- Mount an image:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# head
|
||||
|
||||
> Output the first part of files.
|
||||
> More information: <https://ss64.com/osx/head.html>.
|
||||
|
||||
- Output the first few lines of a file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# hexdump
|
||||
|
||||
> An ASCII, decimal, hexadecimal, octal dump.
|
||||
> More information: <https://www.unix.com/man-page/osx/1/HEXDUMP>.
|
||||
|
||||
- Print the hexadecimal representation of a file:
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
# hostname
|
||||
|
||||
> Show or set the system's host name.
|
||||
> More information: <https://www.tutorialspoint.com/unix_commands/hostname.htm>.
|
||||
|
||||
- Show current host name:
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
> A utility to display images directly on the command-line.
|
||||
> Requires a compatible terminal such as iTerm2.
|
||||
> More information: <https://github.com/danielgatis/imgcat>.
|
||||
|
||||
- Display an image on the command-line:
|
||||
|
||||
|
Reference in New Issue
Block a user