0
votes
1answer
19 views

cursor ripple effect for screencasts and other useful action visibility tools

I was wondering whether someone could point me to any tools available for unix/windows/mac that enable useful screen cast options such as showing a circle that ripples out everytime a mouse click ...
0
votes
5answers
122 views

Little clarity needed about: PC and Mac and Unix

I've always thought that a PC and A Mac were two different computing platforms, not just with in their operating systems (Windows & Mac OS) but different from hardware to thier respective internal ...
0
votes
3answers
74 views

Cannot find where this colorscheme setting is being set for vim on OS X

A long time ago I was farting around with color schemes for vim and I remember setting a line somewhere colorscheme sonofobsidian. I did this before I knew what I was doing with vim, unix, OS X, etc. ...
3
votes
2answers
129 views

Trying to delete a directory stored on a Windows server, mounted on a Mac

I am trying to delete a directory stored on a Windows 2008 R2 server, mounted on a Mac as network home (10.8.5). The directory was created by Safari and stores temporary internet files. I need to be ...
0
votes
1answer
150 views

Unison profiles root/path issues

I am trying to sync two folders with each other (one local, one remote) using unison. If I use a standard command like this.. unison -times /Volumes/My\ HD/Work ssh://myremoteserver//volume1/My\ ...
0
votes
0answers
16 views

Recovering deleted files from mac os lion [duplicate]

I have accidentally called rm -rf on a folder, which I need to replace. Without the recovery being enabled, is there a way to recover the contents at all? I have mac os Lion OS.
2
votes
2answers
88 views

Is there a programmatic Linux/Unix/Mac way to obtain the dimensions of a JPEG?

Inner Sanctum ~/mirror/images $ file wardrobe_square_90.gif wardrobe_square_90.gif: GIF image data, version 89a, 90 x 90 Inner Sanctum ~/mirror/images $ file wardrobe_square_90.jpg ...
0
votes
1answer
137 views

kill command working despite error

after running this command kill -9 <PID> for ./sc_serv. I am getting this output below: -bash: kill: for: arguments must be process or job IDs -bash: kill: ./sc_serv: arguments must be process ...
1
vote
0answers
413 views

chroot under Mac OS X

So I have googled a lot with different search terms, but didn't find anything usable, only that intead of ldd I have to use otool -L to see the used libraries of a programm. I tried to copy bash into ...
0
votes
1answer
653 views

How can I block ICMP/PING/Traceroute on Mac OSX Server?

I understand that on Linux I do: // allow echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all // block echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all // permanent block (edit /etc/sysctl.conf) ...
7
votes
5answers
4k views

bash execution time in milliseconds (mac osx user)

I've checked this , but the solution provided did not work for me. Using date I can get the execution time in seconds: T="$(date +%s)" #some work here T="$(($(date +%s)-T))" echo "execution time ...
0
votes
1answer
47 views

Modify Several Plist Using a Script

defaults read /New.plist itemName the Output Will Be Some Thing Like "Software" but i want the new Data to be updated for the key as "Software Old Version" the problem is i have to modify several ...
0
votes
1answer
126 views

Backup bootable USB flash in Mac OS X

I have a bootable USB. It runs Linux. The size of USB pen is 8Gb, and linux partitions take less than 200Mb. $ diskutil list /dev/disk0 #: TYPE NAME SIZE ...
0
votes
1answer
186 views

Memory usage classification under Darwin (Mac OS X 10.8)

on Mac OS X using Memory Clean, I can behold this memory usage stats chart: While the meaning of active and free seems to be clear, what do "wired" and "inactive" memory refer to?
0
votes
3answers
2k views

Find and replace string in a list of filenames

I have a couple of files like so, (on Mac OS X): product-103-footer.tpl product-103-header.tpl product-103.tpl I want to replace '103' in all the filenames with something else using grep and sed, ...
1
vote
1answer
149 views

OS X - make ordinary SSH commands use SSH config

Here is a (somewhat redacted) listing of my ~/.ssh/config under OS X 10.6.8 Snow Leopard: Host * IdentitiesOnly yes Host foo1 IdentitiesOnly yes User foo1 HostName example.com ...
1
vote
2answers
175 views

How to restore Unix terminal

Some times my Unix terminal gets destroyed, either by: I can type commands, but characters are not echoed on the screen. When I press enter, the prompt is printed on the same line as the current one ...
2
votes
1answer
1k views

What does exec $SHELL -l do?

By accident, I ran the command exec $SHELL -l in my terminal, and it changed how my prompt looks Macintosh:~ myname$ exec $SHELL -l Macintosh-2:~ myname$ cd i.e. there's a "-2" after Macintosh ...
-1
votes
1answer
226 views

unix commands to delete files in different folders

Homebrew has given me some warnings and told me to delete certain files from both /usr and /Library folders, which are getting in the way certain installs. Is there a way to remove these files from ...
0
votes
1answer
545 views

Mac OS X terminal and PATH variable

I've added PATH variable definition to my ~/.profile file: Here it is: export ...
1
vote
2answers
1k views

How can I find out how many hours a hard drive has been running (powered on hours, or POH) on Mac OS X?

Where can I view hard disk usage stats on Mac OS X? Specifically it's a SMART enabled SSD (Crucial M4). But hopefully this command and/or app will not be so picky with drive type. CrystalDiskInfo ...
0
votes
2answers
87 views

Taking a file from my terminal window and store it on my mac

I am a little confused on how i am suppose to get a file from my terminal window on my mac that I want to have/need to use on a different applicatopn (APLX) in order to edit this file. I was wondering ...
0
votes
1answer
86 views

Python by default on all unix systems? [closed]

There was a discussion on which language to choose for a system checker. The system checker is supposed to be a script running on unix systems. On Gnu/Linux systems seem to always have it installed ...
1
vote
1answer
82 views

Do I need to recompile command-line utilities after upgrading Mac OS X?

This is probably a trivial question, but I have the GNU coreutils installed, along with many Python packages and some other things. I was expecting that I may have to re-compile or re-install ...
0
votes
1answer
308 views

How do I type numbers in vi?

Sometimes when I have to do basic editing of a file or write a basic script when I'm working in Terminal, I use vi. The problem is that when I type numbers, it goes to that line. Is there a way to ...
1
vote
2answers
2k views

Mac server default file permissions

How do I change the default file permissions for files created on a Mac server? In case it's relevant, this is a Mac Mini running Mac OS 10.6.7. It's currently used mainly as a file server, and there ...
0
votes
1answer
355 views

Colors in zshell prompt cause odd behavior

I'm running OSX Lion 10.7.3, zsh version 4.3.11. I've found that if I have color escape codes in my prompt, it royally screws things up. For instance, if I scroll forward through the command history ...
0
votes
1answer
131 views

Open Firmware - RAM Size

Is there a command to get the amount of RAM in Open Firmware mode (Cmd + Alt + O + F on startup)?
3
votes
3answers
404 views

Mac- or Unix-compatible utility to compute and compare LAME MusicCRC in MP3s?

The LAME encoder stores a CRC16 checksum of the audio stream in the header of every MP3 it encodes. The 'actual' audio checksum can then be computed and compared to the original value at a later date ...
2
votes
1answer
275 views

Trouble installing OpenCOBOL

When I ./configure, I get this error: configure: error: libdb is required I signed up for an Oracle account (yak shaving), downloaded Berkeley DB, untarred and unzipped, wrestled with the unhelpful ...
0
votes
1answer
152 views

PC vs Mac… why are things this way? [closed]

Why is it that you can run all sorts of operating systems on PCs (such as Linux, Windows, UNIX, BSDs, etc) but can't run Mac OS / Mac OS X? Conversely, why can't you run anything but Mac OS / Mac OS ...
2
votes
1answer
1k views

Why won't my bash script work?

I'm getting more comfortable with the terminal in Mac OSX and I thought I'd have a dabble at bash scripting. Not wanting to crawl before I could sit down I wanted to write an incredibly simple "Hello, ...
17
votes
5answers
3k views

Does dual-booting an OS require a dual-core processor?

My friend claims that dual booting, using two different OSes, requires a multi-core or multi-threaded processor. Is this true? And if I install additional OSes, will my computer slow down any?
0
votes
3answers
3k views

executing unix code from the terminal

I have a directory on my hard drive that contains a collection of Unix executable files that I am trying to run from the terminal. When I browse the directory from the terminal it shows all the files ...
0
votes
1answer
143 views

Quickest way to learn the useful terminal commands [closed]

I'm an iPhone developer but surprisingly (even to myself) I am completely unfamiliar with terminal. The only things I know how to do are cd, ls, top, kill and the git commands for setting up ...
0
votes
2answers
583 views

Allow internet connection through nothing but a certain VPN connection in Mac OS X

How can I configure Mac OS X such that it can only allow an internet connection (both downloads and uploads) through a given VPN connection? If the VPN connection disconnects, the internet should ...
4
votes
3answers
4k views

What is the difference between Linux (Ubuntu) and Mac shell commands?

I use Ubuntu at work and a Mac at home. I was trying out some shell commands on my bash terminal on the Mac today but they didn't work. I was told both machines should operate UNIX commands so the ...
2
votes
0answers
39 views

how do I source control my color profiles? [duplicate]

Possible Duplicate: How to keep my OSX settings under version-control ? I switch between a bunch of Mac and Linux machines at work/home. On my Personal Mac, I have setup TextMate, iTerm, ...
3
votes
1answer
1k views

Launchd execute command when folder contents modified or changed

For the past two days i've been trying to get a launchd plist to execute a script "program" when the contents of a folder on my desktop contents have modified or changed. I've gone through tons of ...
1
vote
2answers
148 views

How \ why does echo $'\ec' work? What is it doing to clear the terminal?

On the terminal prompt for OS X I can type in echo $'\ec' and ti will clear the console. I have no idea why this works, though. What is it doing? I'm guessing this would work on other versions of ...
1
vote
0answers
3k views

remove dir with files not working

I'm trying to remove this directory pear from my tmp folder, but it's not letting me. I tried sudo rm -r pear But then it asks me to override, and I put y and it says Permission denied. Any ideas ...
2
votes
4answers
1k views

How can I find the PID of a process using its command line arguments?

I'm using Mac OS X, which means I don't have (for example) pgrep/pkill, but I want something like that (I don't use macports/fink, either - homebrew is my Unix package tool of choice - so packages ...
1
vote
1answer
285 views

Where do I put a certain alias to always work in a terminal in MAC?

On my linux system (ubuntu), when I create a certain alias in ~/.bashrc and then restart the terminal/system, the alias always works again, without reloading anything. But on my MAC system, when I ...
3
votes
3answers
14k views

Connect to WiFi network using Mac Terminal

Every time I try to find out how to do this, I find out how to do it on a linux, and it doesn't transfer. How do I connect to a WiFi network using Mac Terminal Bash?
14
votes
2answers
6k views

How does one switch between windows on VIM?

I'm using both Vim and MacVim (or well, trying to). I installed the Tagbar plugin but find it impossible to switch to the actual Tagbar window to make my selection. I've been reading loads about ...
20
votes
4answers
28k views

What's the difference between .profile and .bash_profile, and when do you configure which? (Mac) [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile What's the difference between .profile and .bash_profile, and when do you configure which? I.e if I configure the ...
4
votes
5answers
538 views

Why do we use ./progname in *nix systems to execute a program?

I've been using Linux & Mac for sometime now and I always wonder - Why do we have to execute a program like ./progname . I know Unix treats every thing as a file and it stores the filename in a ...
0
votes
1answer
113 views

Weird behaviour on OS X, colour wheel of death, impossible CPU time?

My computer has been experience some weird issues. Doing almost any simple operation in a significant application like Sarafi results in the appearance of the colour wheel of death. Most of the time ...
5
votes
8answers
16k views

What are ways to figure out how old my computer is? [closed]

What are ways to figure out how old my computer is?
0
votes
1answer
798 views

getcwd Error throughout System

I seem to be getting a getcwd error suddenly throughout my system. Thoughts anyone. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ...