Skip to content

Instantly share code, notes, and snippets.

@XamarinQA
Created August 9, 2012 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XamarinQA/3307081 to your computer and use it in GitHub Desktop.
Save XamarinQA/3307081 to your computer and use it in GitHub Desktop.
8/9/12 2:53:10 PM com.apple.launchd[1] (org.clamav.clamd[74478]) Exited with exit code: 1
8/9/12 2:53:10 PM com.apple.launchd[1] (org.clamav.clamd) Throttling respawn: Will start in 10 seconds
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] open: invalid option -- F
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] Help: Open opens files from a shell.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] By default, opens each file using the default application for that file.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] If the file is in the form of a URL, the file will be opened as a URL.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] Options:
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -a Opens with the specified application.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -b Opens with the specified application bundle identifier.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -e Opens with TextEdit.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -t Opens with default text editor.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -f Reads input from standard input and opens with TextEdit.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -R, --reveal Selects in the Finder instead of opening.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -W, --wait-apps Blocks until the used applications are closed (even if they were already running).
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] --args All remaining arguments are passed in argv to the application's main() function instead of opened.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -n, --new Open a new instance of the application even if one is already running.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -g, --background Does not bring the application to the foreground.
8/9/12 2:53:12 PM [0x0-0x191191].com.xamarin.installmonoforandroid[74264] -h, --header Searches header file locations for headers matching the given filenames, and opens them.
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Warning: **************************************************
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Warning: *** The virus database is older than 7 days! ***
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Warning: *** Please update it as soon as possible. ***
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Warning: **************************************************
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Error: cli_loadinfo: Digital signature not found
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Error: Can't load daily.info: Malformed database
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Error: cli_tgzload: Can't load daily.info
8/9/12 2:53:20 PM org.clamav.clamd[74489] LibClamAV Error: Can't load /var/clamav/daily.cvd: Malformed database
8/9/12 2:53:20 PM org.clamav.clamd[74489] ERROR: Malformed database
8/9/12 2:53:20 PM com.apple.launchd[1] (org.clamav.clamd[74489]) Exited with exit code: 1
8/9/12 2:53:20 PM com.apple.launchd[1] (org.clamav.clamd) Throttling respawn: Will start in 10 seconds
@XamarinQA
Copy link
Author

XQA-SL-VM-1:~ xamarinqa$ cat OpenManual.txt
OPEN(1) BSD General Commands Manual OPEN(1)

NAME
open -- open files and directories

SYNOPSIS
open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b bundle_identifier]
[-a application] file ... [--args arg1 ...]

DESCRIPTION
The open command opens a file (or a directory or URL), just as if you had
double-clicked the file's icon. If no application name is specified, the
default application as determined via LaunchServices is used to open the
specified files.

 If the file is in the form of a URL, the file will be opened as a URL.

 You can specify one or more file names (or pathnames), which are inter-
 preted relative to the shell or Terminal window's current working direc-
 tory. For example, the following command would open all Word files in the
 current working directory:

 open *.doc

 Opened applications inherit environment variables just as if you had
 launched the application directly through its full path.  This behavior
 was also present in Tiger.

 The options are as follows:

 -a application
     Specifies the application to use for opening the file

 -b bundle_indentifier
     Specifies the bundle identifier for the application to use when open-
     ing the file

 -e  Causes the file to be opened with /Applications/TextEdit

 -t  Causes the file to be opened with the default text editor, as deter-
     mined via LaunchServices

 -f  Reads input from standard input and opens the results in the default
     text editor.  End input by sending EOF character (type Control-D).
     Also useful for piping output to open and having it open in the
     default text editor.

 -W  Causes open to wait until the applications it opens (or that were
     already open) have exited.  Use with the -n flag to allow open to
     function as an appropriate app for the $EDITOR environment variable.

 -R  Reveals the file(s) in the Finder instead of opening them.

 -n  Open a new instance of the application(s) even if one is already run-
     ning.

 -g  Do not bring the application to the foreground.

 -h  Searches header locations for a header whose name matches the given
     string and then opens it.  Pass a full header name (such as NSView.h)
     for increased performance.

 --args
     All remaining arguments are passed to the opened application in the
     argv parameter to main().  These arguments are not opened or inter-
     preted by the open tool.

EXAMPLES
"open '/Volumes/Macintosh HD/foo.txt'" opens the document in the default
application for its type (as determined by LaunchServices).

 "open '/Volumes/Macintosh HD/Applications/'" opens that directory in the
 Finder.

 "open -a /Applications/TextEdit.app '/Volumes/Macintosh HD/foo.txt'"
 opens the document in the application specified (in this case, TextEdit).

 "open -b com.apple.TextEdit '/Volumes/Macintosh HD/foo.txt'" opens the
 document in the application specified (in this case, TextEdit).

 "open -e '/Volumes/Macintosh HD/foo.txt'" opens the document in TextEdit.

 "ls | open -f" writes the output of the 'ls' command to a file in /tmp
 and opens the file in the default text editor (as determined by Launch-
 Services).

 "open http://www.apple.com/" opens the URL in the default browser.

 "open 'file://localhost/Volumes/Macintosh HD/foo.txt'" opens the document
 in the default application for its type (as determined by LaunchSer-
 vices).

 "open 'file://localhost/Volumes/Macintosh HD/Applications/'" opens that
 directory in the Finder.

 "open -h NSView" lists headers whose names contain NSView and allows you
 to choose which ones to open.

 "open -a Xcode -h NSString.h" quickly opens /System/Library/Frame-
 works/Foundation.framework/Headers/NSString.h in Xcode.

HISTORY
First appeared in NextStep.

Mac OS X February 10, 2004 Mac OS X
XQA-SL-VM-1:~ xamarinqa$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment