Pity Im at work... my Mac is at home...
I am puzzled by you answer, did you type which launchctl ?
If that produces nothing (understand - Return nothing - you can test with another command like ls to see...) then I, as a paranoid would go to root and search for it:
then check all occurence to see what they are...
Once found the one required, check if executable and why its not in the PATH environment variable
Would set it and see if now things og better...
I am totally newbie. I try to login UNIX Solaris 10 through ssh command as user then i use sudo command to login as root: sudo su - but system give me an error sudo: not found. How can i fix this problem and install ssh services for my unix. (1 Reply)
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
As I am trying to log in, when input my user-name (root), when the password prompt, this is what I got (highlighted in red), before i can put in my password. Please tell my why this happened.
console login: root
Password:
sh: sudo: not found
Thank you. (0 Replies)
Hi,
I followed the step written in README.
It got some error message when I type " #python setup.py build"
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb
running build_ext
building '_mysql' extension
/usr/lib/python2.4/pycc -DNDEBUG... (2 Replies)
Hey all I'm having a little trouble installing a MySQL database. This is what I tried...
export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a`
pkg_add -v mysql-server mysql-client
and this is what I get
Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Hello, all. My english is not good.
I have a problem installing FreeBsd.
I have not CD-Roms, so i use program FlashBoot for convert iso-image to USB Device.
After, I was beginning to install FreeBsd (Sorry my english)
When it's time to choose an installation media, i select 9 USB:... (3 Replies)
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Hi i am trying to install mysql rpm package on my linux machine but getting below error :
warning: MySQL-embedded-5.5.28-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL-devel is needed by MySQL-embedded-5.5.28-1.rhel5.i386
... (9 Replies)
My yum install command is failing. I first did yum clean all
I even tried with localinstall.
Below is the error output:
yum install mysql-community-server*.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies
LEARN ABOUT OSX
screencapture
SCREENCAPTURE(1) BSD General Commands Manual SCREENCAPTURE(1)NAME
screencapture -- capture images from the screen and save them to a file or the clipboard
SYNOPSIS
screencapture [-SWCTMPcimswxto] file
DESCRIPTION
The screencapture utility is not very well documented to date. A list of options follows.
-c Force screen capture to go to the clipboard.
-C Capture the cursor as well as the screen. Only allowed in non-interactive modes.
-i Capture screen interactively, by selection or window. The control key will cause the screen shot to go to the clipboard. The space
key will toggle between mouse selection and window selection modes. The escape key will cancel the interactive screen shot.
-m Only capture the main monitor, undefined if -i is set.
-M Open the taken picture in a new Mail message.
-o In window capture mode, do not capture the shadow of the window.
-P Open the taken picture in a Preview window.
-s Only allow mouse selection mode.
-S In window capture mode, capture the screen instead of the window.
-t <format> Image format to create, default is png (other options include pdf, jpg, tiff and other formats).
-T <seconds> Take the picture after a delay of <seconds>, default is 5.
-w Only allow window selection mode.
-W Start interaction in window selection mode.
-x Do not play sounds.
-a Do not capture attached windows.
-r Do not add screen dpi meta data to captured file.
files where to save the screen capture, 1 file per screen
BUGS
Better documentation is needed for this utility.
SECURITY CONSIDERATIONS
To capture screen content while logged in via ssh, you must launch screencapture in the same mach bootstrap hierarchy as loginwindow:
PID=pid of loginwindow
sudo launchctl bsexec $PID screencapture [options]
HISTORY
A screencapture utility first appeared in Mac OS X v10.2.
Mac OS June 16, 2004 Mac OS