0
votes
0answers
4 views

linux net command for osx terminal? [duplicate]

i am trying to establish a way to use the same samba net commant found on a linux distro using samba 3.x but i am unable to identify the mac version of it reference to the net command: ...
1
vote
2answers
204 views

How can I monitor memory usage of a process running from the terminal in OSX

I am running a command line utility called casperJS (installed via node npm) from the OSX terminal. It's a long running process and I'd like to see how much memory it is using, together with any ...
0
votes
1answer
112 views

Mac OS X Mountain Lion kernel panic after installing latest steinberg sound card driver

I just bought a steinberg CI2 and went to their website to download the latest driver and when I installed it gave a kernel panic. I don't have any backups and is there a way to backup all the files ...
0
votes
1answer
390 views

How can I clear the notification center from Terminal?

I really like terminal-notifier and how it allows you to send things to the notification center. It even has a handy feature to remove the notifications that it sent, for example if I spoofed a ...
0
votes
0answers
98 views

OS X terminal displays question mark over directory icon

When I load a new instance of the terminal, the window's title bar displays a question mark over the current folder directory icon. Notably, this doesn't happen when the wi-fi is turned off. Is the ...
0
votes
1answer
41 views

Time command not behaving correctly

I am having a weird problem with the time command. When I try and run $ time rspec spec It should return Finished in 15.78 seconds 75 examples real 0m22.334s user 0m17.952s sys 0m2.643s ...
1
vote
1answer
425 views

Valgrind installation errors on OSX 10.8

Hi so I've been trying to Valgrind on mountain lion. I followed the instructions on valgrind's webpage: http://valgrind.org/docs/manual/dist.install.html As well as the instructions on this blog: ...
6
votes
1answer
971 views

OS X Mountain Lion terminal tab name + open a new tab in the same directory

1) In Mountain Lion, through Preferences, you can change the setting of Terminal so that a new tab can be opened in the same directory as the opening tab. (i.e. if I am at ~/workspace and I open a new ...
0
votes
2answers
788 views

Enable/Disable OS X Screensaver Password Prompt

I am trying to speed up my enabling and disabling of the security/password feature on OS X. Specifically in this case Mountain Lion 10.8.4. I currently have a hot corner (Plus the shortcut ctrl + ...
3
votes
1answer
930 views

Terminal blank, .bash_profile broken

I was following a tutorial for configuring OS X Mountain Lion and somehow after editing the bash_profile I can't run the terminal properly. The terminal starts just fine but is blank, if a wait long ...
2
votes
3answers
104 views

How do I prevent $PATH from resetting itself each time?

I'm having difficulty setting up the PATH on my macbook pro. I followed this link to modify my path variable. Each time I start a new terminal I get a PATH pointing towards ...
0
votes
2answers
558 views

OS X Terminal prompt changed

My terminal prompt on OS X 10.8.3 suddenly is not the machine or hostname anymore but something like: minint-j4lfb2s:~ Where does that come from? I did not change it. How can that be?
1
vote
1answer
909 views

Remove file extension in OS X using Terminal

Problem: I have some 200+ files named something in line with "DSC01852.JPG.jpg". I would like to remove the file extension so the result becomes "DSC01852.JPG". Any suggestions? I looked at the mv ...
2
votes
4answers
2k views

Is it possible to run software as a different user under OS X Mountain Lion?

I've been trying to run apps as a different user. Attempt 1 sudo -u otheruser open /Applications/TextEdit.app launches the app but it uses the current user, not otheruser. Attempt 2 login username ...
0
votes
1answer
65 views

All the command line command become “Not found” after installing Mountain lion

I just found after installing new Mountain lion, I can no longer use the command line because all the command seems to be " NOT Found", even for basic "sudo" command sudo: command not found How can ...
0
votes
0answers
187 views

Cannot run diskutil, sudo or not

I cannot run diskutil on my brand new Retina Macbook Pro 2012. When I try to run it, (including sudo), the terminal says "command not found". I looked in usr/bin and usr/sbin and could not find ...
4
votes
2answers
494 views

How do I back out of sudo privileges in OS X

Is there a command to de-elevate the user from sudo permissions after I execute a command such as sudo pmset sleep 0 so that when I try to execute another sudo command it asks for my password again? ...
0
votes
1answer
190 views

Mountain Lion: How to have a process killed every 8 hours?

So there is a process I see in my activity monitor and I can kill it. Due to whatever, another process is set to restart the killed process every 8 hours and it can not be changed. I am looking for a ...
2
votes
1answer
2k views

How to setup iTerm “Visor” option like TotalTerminal?

I configured my iTerm using this tutorial: http://technosophos.com/content/configure-iterm2-act-visor But I have few problems with it, for example when I am in fullscreen mode and I press CMD + Tab ...
2
votes
1answer
493 views

Set Adobe Reader as Default for .PDF documents in Mac OSX 10.8 via the Terminal

I would like to know how to set the .PDF file extension to be associated with Adobe Reader as the default program by setting this via the terminal in Mac OSX 10.8. My reasons for needing to this this ...
3
votes
2answers
333 views

How to make ls command not show Icon? files?

I have a folder (say, Downloads) with a custom icon. When I execute cd Downloads and then ls, it displays Icon? Subfolder1 Subfolder2 How can I make the ls command skip (thus not showing) ...
0
votes
0answers
1k views

subl command line not working

I followed the sublime text 2 command line tool installation feature some time ago and it was working just fine. However, it's not working anymore. When I type subl in the command line, it returns ...
1
vote
2answers
402 views

Fix Mac OS X bash

When I start my Terminal I get this error. I have no clue how to fix that and where it comes from. Last login: Fri Nov 30 21:46:06 on ttys000 -bash: export: `/usr/local/bin': not a valid identifier
1
vote
2answers
1k views

Can I set Shift Tab and Ctrl Tab to change to next and previous window in OS X Terminal?

I've got a Cyborg Rat 7 mouse with a thumb roller, which is great. I use it in Chrome to switch quickly between tabs right and left. I've got the left/right roll to be Ctrl+Tab and Shift+Ctrl+Tab. ...
3
votes
2answers
4k views

How can I enable Mountain Lion Airplay mirroring through command line?

I want to enable/disable airplay mirroring with an script and I don't know how to find what commands are executed when Airplay is activated. Any idea about how to do it or where to search? Thank ...
4
votes
2answers
2k views

How to explore more defaults write tweaks on OS X?

I would like to explore some new tweaks which can be done by the "defaults write" command in OS X(ML). What can I do to find them out myself rather than hunting online for known tweaks?