All Questions
85
questions
0
votes
3
answers
13k
views
How to recover deleted file in mac? [duplicate]
I wanted to copy a file using cp, however, I happened to type rm and the file was deleted.
How can I recover it?
The file is stored in a mobile hard disk drive with FAT32 file system
I'm using Mac ...
0
votes
1
answer
1k
views
Deleting Ubuntu folder symlink deletes target folder's contents when done via OSX & Samba
I have a problem where deleting a folder symlink on a mounted Samba share also deletes the target folder's contents when accessed from my Macbook. This is actually a problem I have had for many years, ...
0
votes
0
answers
75
views
Accessing data on drive that was initialized as a GPT
I have a USB drive that only had a /dev/disk1 that I could mount by mount -t hfs /dev/disk1 /Volumes/usb on a Mac drive. For the life of me I could not get it mount or be read on Windows regardless of ...
0
votes
4
answers
2k
views
What's the difference between "-h" and "--help"? [closed]
Sometimes I see -h is a manual for a application, and sometimes I find --help in the manual.
What is the difference between them? Is there any history/story about this?
0
votes
2
answers
2k
views
Strange Vim/terminal use from ssh via Mac OSX
I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal:
When I :q from vim, the contents of the vim screen is ...
0
votes
2
answers
394
views
Why does sudo -n on Mac OS X always return 0?
It looks like sudo -n on Mac OS X (10.10.3) always returns 0 as a return code.
So something like this will always show 0, regardless of whether the user has authenticated with his password first:
...
0
votes
2
answers
391
views
Can I create a bootable Linux live USB flash drive using a Windows computer? [duplicate]
I have a rescued 2013 MacBook Air with a broken screen backlight due to a beverage spill and missing its internal SSD. I don't yet have any OS installed on it. I have access only to (32 bit) Windows ...
0
votes
1
answer
1k
views
Needing to open OS X bash script as via launchd IN a terminal window
I've got a lengthy and complex bash script which works OK, but I'm trying to automate my deployment process and I'm flummoxed at this point.
I can get the script to run as a LaunchAgent no problem, ...
0
votes
1
answer
943
views
Trying to install coreutils via MacPorts: "Error: Port coreutils not found"
I'm trying to use MacPorts to install coreutils.
I check that MacPorts was installed correctly,
$ port version
Version: 2.3.4
and try to install coreutils,
$ sudo port install coreutils
Error: ...
-2
votes
2
answers
25k
views
OSX: Snort: ERROR: /etc/snort/../rules/local.rules(0) Unable to open rules file "/etc/snort/../rules/local.rules": No such file or directory
I'm trying to setup and run Snort IDS on mac using this kinda tutorial:
https://discussions.apple.com/thread/3370709?start=0&tstart=0
OSX Yosemite (10.10.2);
PostgreSQL 9.4.1 (installed with ...