Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

0
votes
1answer
19 views

AppleScript from Terminal unrar command

I would like to know if it's possible to make an AppleScript of the following terminal command(s). cd unrar e -r -o- *.rar && find ./ -name “*.r*” -delete Also, I would like to know if it's ...
2
votes
1answer
30 views

Get current path of Automator app

I am trying to create an Automator application which I will be distributing to other users on the network. The automator app will be accompanied by a ZIP file and a PKG installer file. I need to run ...
1
vote
0answers
10 views

How to disable a specific sensor within a .kext?

I have a Macbook Pro 13" Retina, mid 2014 with a "right palm sensor" that is malfunctioning. It thinks that the computer is overheating, and it therefore is causing the kernel_task to eat up 250% - ...
5
votes
1answer
2k views

Terminal uses one theme for the first window and a different theme for later windows.

I want to set the "Homebrew" theme to be the default in Terminal. I've changed the setting in the preferences: I chose "on startup, open" : "new window with settings" : "Homebrew". Here is a ...
7
votes
5answers
4k views

iTerm2/Terminal full screen

Why is it not possible to have iTerm2 or Terminal app take up the full available space on the screen. Let me show an example: It's hard to see but if you look on the right and bottom edge, there is ...
4
votes
1answer
7k views

Is it possible to view passwords through Terminal?

Does anyone know how to view passwords in Terminal? Maybe by accessing the Keychain data or something? I want to be able to view passwords in Terminal with just a series of commands.
1
vote
2answers
34 views

How can I get Terminal to accept mouse clicks the way PuTTY does (eg inside elinks)?

When running ncurses-based tools like elinks, PuTTY (for Windows) allows you to click on links. However, in Terminal, you need to navigate via keyboard. Is there a way to get Terminal to ...
3
votes
2answers
2k views

Disable password authentication on SSH server on OS X Server 10.8

I want to disable the password authentication of the SSH server on my OS X Server. this should be done in /etc/sshd_config, right? But I’m not sure which setting I should change…
4
votes
2answers
3k views

How to put a custom launcher in the Dock (Mavericks)

I am new to Mac OS (I am currently using Mavericks) and I have performed google searches as well as search on StackExchange regarding my question but the discussions I came across don't quite answer ...
0
votes
1answer
58 views

My Finder is not responding and there are no documents on Desktop after downloading OS X Yosemite

I've just upgraded my Macbook Pro (15 inch, mid 2009) to OS X Yosemite and it is running slowly and my Finder is not responding at all and none of my documents are on my Desktop. I have tried taking ...
0
votes
1answer
43 views

Automator gets stuck at shell script

I am building an automator script to do automatic backups to a network drive via rsync. The shell script works perfectly fine in terminal and completes and everything, but when i run it from ...
0
votes
2answers
78 views

how to install hypre using terminal on OS X 10.9.1

I want to install the lastest version of Hypre. It must be safe So using terminal is the safest way. I have brew. My question is : How can I do this using the terminal ?
2
votes
2answers
267 views

OpenCV library not installing after using cmake

I use Yosemite 10.10, and I need to build and install the OpenCV library using cmake-gui. I was able to configure and generate the binaries readily. But when I try to 'make' the library using the ...
1
vote
0answers
22 views

How can I customize the symlinks that MacPorts creates/deletes when using its `port select --set <group>` command?

I use MacPorts to manage certain *nix packages on my Mac. One such Mac has multiple Python versions installed. When I switch between Python versions, I use a command like: port select --set python ...
3
votes
0answers
124 views

New users can't see Apple applications from Utilities folder in Launchpad

I felt like giving my mess of Launchpad icons a fresh start. So I did defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock On checking Launchpad, it had appeared to have ...
5
votes
1answer
145 views

ssh key persists even after I delete the private key from ~/.ssh — why?

I generated ssh keys (public and private) and stored them in ~/.ssh/myServer/. I added the public key to the server's ~/.ssh/authorized_keys file and everything works great! In my effort to try and ...
2
votes
1answer
16 views

Changing dev environment to Homebrew

I'm a new mac user and I'm going to start using Homebrew to build my environment. My current environment I've installed piece by piece. What I want to check is what to make sure I do, so I don't get ...
0
votes
1answer
26 views

Can I set Show Library Folder via defaults from command line?

Is there anyway to activate the Show Library Folder option from the command line? I know that I can archive it with the command chflags nohidden ~/Library', but for several reasons I would prefer a ...
0
votes
2answers
636 views

Terminal command to kick selected users off my network

There are lots of ports in my small office but sometimes I want to kick out people who are accessing internet instead of doing their job. With arp -a i can look for all of the connected users. But how ...
0
votes
0answers
14 views

How to find lost terminal sessions

I use Terminal for web development, and typically have various tabs open, some of which are divided into multiple session (via tmux). After a while, I'll accidentally hit command-W and kill one of ...
0
votes
0answers
35 views

My PCIe SSD crashed during OS reinstall, now will not mount, unmount, repair

While I'm pretty sure I totally broke the partition table, I've been unable to fix it using tools like testdisk and diskwarrior. My machine crashed during installation of 10.8 OSX on a mercury ...
5
votes
3answers
2k views

open new terminal tab in the same directory with the active tab

In GNOME Terminal of Ubuntu when you open a new tab the new shell will automatically start you in the current working directory of the active tab shell. E.g. if in the active tab shell I am on ...
0
votes
2answers
37 views

How can I access the LaTeX commands from the terminal?

I just installed MacTeX onto Yosemite and it installed everything in usr/local/texlive However if I am in Terminal and try to compile a LaTeX file with pdflatex foo.tex, it cannot find the LaTeX ...
0
votes
0answers
13 views

Way to Geolocate Files by Date Created

Does anyone know of a way (programmatic/Terminal or GUI) to geotag files using GPX files the way that Aperture can do for photos? (I'm basically trying to create my own "Atlas" function from ...
2
votes
0answers
48 views

Deleting and creating users with terminal in recovery mode?

would anyone know how to delete and create user accounts in recovery mode? Precise steps would be awesome because im not too experienced with UNIX. I already tried the userdel and useradd in urs\sbin ...
2
votes
3answers
115 views

Terminal not beeping on bell character

I'm running a nearly vanilla installation of OS X Yosemite 10.10.1 with the usual Homebrew, MacPorts, and Fink. I have barely anything installed with these utilities. For some reason, my ...
1
vote
1answer
38 views

Files are not showed in Finder

Recently, I noticed that on the files on my external hard drive are not shown in Finder. All folders can still be navigated, but the files are not visible. When I check the contents of these folders ...
1
vote
0answers
21 views

Searching/opening filer from network location using terminal

I am creating .sh script that will open smb://location/foder. The location contains a lot of folders that are being constantly created, and every time when I navigate I need to open different folder. ...
4
votes
1answer
43 views

Where are Terminal.app profiles files located?

I just recently reinstalled OS X and forgot to back up all my sweet 'profiles' aka colour schemes. It would be very helpful if I could find the location of these so I can recover them from backup.
1
vote
1answer
55 views

Problem persistently defining aliases in terminal

I am trying to persistently define some aliases for my everyday terminal use. I started off with this tutorial: How to persistently define aliases in Terminal, more precisely with Mike's comment. As ...
3
votes
1answer
155 views

Is there a similar functionality of “Get Info” (Cmd+I) from the Mac OS X Terminal.app?

I would like to ask if in OS X there is a similar functionality of "Get Info" (Cmd+I) but from the Mac OS X Terminal.app? I mean something like finderGetInfo /path/to/a/file.ext which will output the ...
1
vote
1answer
25 views

How to use proxy in terminal [duplicate]

Department of Telelcom (India) just blocked some sites in India. But, only Government-based ISPs block access those sites. Other ISPs still have these sites working. One of those sites is Github and ...
2
votes
1answer
26 views

Using Terminal to order SSID preference in System Preferences

I'd like to find a way to add a specific SSID to the top of the preferred WiFi networks in System Preferences > Network > WiFi > Advanced. (10.9 Mavericks and beyond) According to the man page, this ...
35
votes
2answers
43k views

How can I create a symbolic link in Terminal?

I know how to delete a symbolic link/soft link by using command rm in Terminal but I was wondering what command is used to create one?
0
votes
2answers
125 views

AppleHighlightColor syntax

I'm changing my highlight color via a command I find in Mathias Bynen's dotfiles like so: defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600" I'd like to change ...
3
votes
1answer
1k views

enabling/disabling internet sharing with terminal in mac osx 10.9.2

Very much on the line of already existing questions, but not having enough reputation to comment by following existing threads, I can only ask my own, at the risk of duplicating may be, certainly ...
1
vote
1answer
48 views

Where is the bash profile on iOS?

Where is the bash profile on iOS, I am jailbroken and can't find the bash profile, I would like to create some aliases and edit it.
1
vote
2answers
128 views

Shell not finding commands after I changed my .bash_profile file

I was following a tutorial trying to install Laravel (5.0). The tutorial showed to add export PATH="~/.composer/vendor/bin/laravel" to the .bash_profile document. Since then, I am not able to execute ...
2
votes
2answers
54 views

How to access other users' files via Terminal in OS X?

I am an admin that wants to access other users' files. How to do this via the Terminal?
2
votes
1answer
22 views

How to get rid of stuck terminal error

I don't exactly remember what I did last night, but ever since I get this message everytime I launch terminal. Not that it stops me from doing anything, it's just really annoying. Any help regarding ...
11
votes
4answers
32k views

How can I reset a Mac's password from Single User Mode?

My sister bought a used MacBook about 6 months ago and she has lost her password. Here is the procedure I tried to use to reset the password: Boot into single user mode (press Command-S at power ...
1
vote
0answers
15 views

Is HISTFILESIZE behavior different in Yosemite?

For a long time I've used the HISTFILESIZE environmental variable to control the number of lines that get written to my terminal history (the default of 500 is not enough; I set it to 10000). Ever ...
9
votes
4answers
1k views

Login directly to terminal instead of GUI

First: I'm obviously not talking about logging in and then automatically launching Terminal.app. In older versions of Mac OS X, you used to be able to type >console in the username field on the ...
0
votes
1answer
44 views

Replicate my Mouse config in command line

How can I replicate my mouse config (in the images below) through command line?
0
votes
0answers
38 views

fish shell suggests commands in tmux

I use fish shell, it's has option "suggests commands", so it is works like in the next screenshot. Examle: You type command git status. In the next time when you type just g or git fish give you ...
1
vote
2answers
721 views

OS X won't create any symbolic links, creates aliases instead

No matter how I try to create an symbolic link OS X refuses to play along and instead creates an alias. I've tried several tools and also through the terminal using the ln command. I am on a fresh ...
6
votes
4answers
91 views

Figuring out what IP's and Ports a program is accessing

I play poker semi-professionally online and live. When I play online I have a hard time limiting the amount of time I play. There is a free application I found called self-control. It allows you to ...
0
votes
0answers
41 views

Command line “convert” tool corrupting first file in folder

textutil -convert txt * -output * I am batch converting some RTFs to TXTs. For some reason, the first (only the first and always the first) file in the directory does not convert AND gets corrupted ...
1
vote
0answers
25 views

Can I get less(1) to display the final line, without selecting it?

When less(1) is looking at a file with a long name, pressing = updates only the final line on screen. For example, with the Terminal window at 80 columns and 27 rows (the default, I think), if I do: ...
83
votes
5answers
37k views

How can I trigger a Notification Center notification from an AppleScript or shell script?

I'd love to be able to take advantage of 10.8's Notification Center features in AppleScripts and shell scripts I write. Is there a built-in command or a third-party library I can use from either an ...