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
0answers
60 views

Make trackpad quiet in Yosemite

In El Capitan there is a setting that allows you to make the click of force touch trackpads (2015 MB. 2015 MBP) silent. I have tried this out in El Capitan public beta and liked it, however since I ...
0
votes
2answers
44 views

Dock shortcut for an interactive bash script

I'm new to OSX and all I want it an application shortcut in Dock that opens the terminal and types the first command and waits for me to provide the password. Here is the script I want to run: ...
0
votes
0answers
21 views

users with same uid

I was reading a question about users with same UID. tried his posted command dscl . -list uid | sort -nrk 2 to see what I got. 2 of them share UID 0 root and untitled. UID -2 is named nobody. daemon ...
0
votes
0answers
35 views

How to find and delete users that only show in Password Utility?

While using disk utility to fix permissions, I kept getting a ton of different ACL found but not expected on Library/files. I searched for a fix after using disk utility multiple times. I kept coming ...
0
votes
1answer
72 views

How to change a directory name?

My home directory was not where it was supposed to be. I was able to fix the directory location. Then needed to fix the permission of home directory with $ cd /Users/ $ sudo chown -R hook1:staff ...
0
votes
1answer
50 views

osascript Expected end of line but found class name?

Not really sure what its expecting here, I assume its around click button though. This used to work on 10.10.3, but seems to have stopped on 10.10.4? Script function AcceptSecurity () { osascript ...
0
votes
1answer
19 views

Time Machine: Is it possible to exclude 5000+ files via TMUTIL?

Is there a limit to the number of files which can be excluded in TimeMachine? I have 5000+ photos on an external drive along with their associated sidecar files. The photos are large and never ...
0
votes
0answers
39 views

Mac doesn't recognise simple commands like 'ls'

I installed Apache and tried to change the permissions for one of Apache's working directories. After that my machine keeps changing the default path. I can't access the simple commands unless I set ...
0
votes
0answers
27 views

Close Boot2docker terminal window without killing it

I use the Boot2docker application to initialize a virtualbox development environment. I have to leave this window open or it dies. Is there any way I can close the terminal window and have it ...
0
votes
0answers
28 views

using FISH shell — set default folder for multiple tabs?

I'm using fish shell in OS X. Using the standard bash shell, you can open multiple tabs in Terminal, cd to a different directory in each, and then save the setup as a Window Group (via Window > ...
-2
votes
1answer
22 views

Stop powerline hovering above bottom of full-screen terminal

When in full-screen mode ("full-full", not just maximised with menu bar still showing) Powerline inside Terminal.app hovers slightly (about it's own height) above the bottom of the screen. Does ...
1
vote
1answer
42 views

How can I change 'history' command output?

So by default .bash_history stores 500 last used commands. I changed that to 5000 by setting HISTFILESIZE=5000 in .bash_profile It seems to work. Now when I do history it still prints 500 commands, ...
0
votes
0answers
27 views

File name autocompletion stopped working in Terminal

I just noticed this. Previously, when I typed cd Doc<tab> I would get cd Documents. Now I get cd Doc. If I hit tab again it just appends more tabs. I only have one Doc* directory: $ ls -d ...
0
votes
1answer
54 views

Why isn't this alias in terminal working?

The alias's objective is to launch a pdf in my chrome browser. The pdf is entitled "Intro to Java.pdf"; the browser is "Google Chrome" alias x='open -a "Google Chrome" ...
0
votes
1answer
118 views

launchctl error “nothing found to load” when run via cron

On OS X 10.9, I'm running a script (e.g., ~/bin/run.sh) via my user crontab (added using crontab -e). This script, under some specific conditions (not related to this question), will run the following ...
0
votes
0answers
11 views

View output from script running in background

While messing around with some Ruby programming (Using OS X 10.9.x), i have constructed a script which is forked to the background, and constitutes a loop which only exits after another process is ...
0
votes
1answer
35 views

Applescript - Get information from terminal command

I'm creating a little script to allow quick changes to the network settings of my Mac. I have got it all working, but I wanted to be able to see what the settings are before I change them in the first ...
1
vote
0answers
23 views

In bash script, how to have a script that runs in the background and starts when an application is opened

I'm making a script which should run when I open Safari. I want it to open when the user logs in and run in the background, then have part of the script to run when Safari opens. Is this possible in ...
-5
votes
2answers
62 views

How to display standard Linux libraries of OS X in terminal?

Platform: OS X: Yosemite 10.10.4; MacbookPro 15" Retina (mid-2015). I am new to OS X, I want to explore the underlying operating system and it's Linux components especially. Linux has standard ...
0
votes
1answer
47 views

Is there a way to access the “Recent Items” list from the terminal?

The Apple menu "Recent Items" entry is handy, but at times I would like to be able to access it via command line, e.g. to change to a directory I was just working in with a GUI app. Is there a way to ...
1
vote
2answers
71 views

OS X Terminal: 'ls' with 'grep !'

I would like to list all files in folder without one. I created this command ls /Users/MartinBengsch/Library/Safari | grep ! "Extensions". The problem is that the Terminal doesn't understand the not ...
2
votes
2answers
37 views

Is there a way to preserve terminal tab history across computer restarts?

I'm using Mac 10.9.5. When I run a terminal with multiple tabs (using bash shell), I've noticed that when my computer restarts, the terminal will open up with the same number of tabs that were open ...
1
vote
2answers
84 views

Why doesn't the 'rm' command dump file in Trash?

Using the rm 'filename' command, i have noticed that the file isn't actually deposited into the trash. I realise that this isn't completely removing the file from the computer, however im perplexed as ...
1
vote
2answers
72 views

Remove all files in folder apart from one using OS X Terminal

I would like to remove the whole content of a folder, apart from one file. The problem is can't copy the file to another folder and then back to the first folder, because then the application doesn't ...
0
votes
1answer
42 views

copy folders to user library using Terminal on OS X

I would like to copy a folder to the user library using the OS X Terminal. The command line I use is cp -r. The problem is that the command runs, but it doesn't copy the folder and it returns no ...
0
votes
1answer
66 views

To get newer man pages in OSX?

I noticed that my manuals are very old in my system although all updates done. Etc man cmp tells about the flag -l -l --verbose Output byte numbers and values of all differing bytes. ...
1
vote
1answer
90 views

Where are stored C “object” and “executable” files in Xcode?

Platform: OS X: Yosemite 10.10.4; Xcode: v6.4 (6E35b); MacbookPro 15" Retina (mid-2015). Fact: As C compiler and linker (upon standard) create .o and executable file(s) Questions: Where (please ...
1
vote
1answer
73 views

Turn Wifi off/on with a single key?

Is there a way to assign the WiFi on/off function to one of the function keys like F4 that I otherwise never use? I assume Applescript would be required. However I may want to use a BASH script ...
0
votes
0answers
33 views

Nano: how to obtain syntax highlighting?

I have a default installation of nano under /usr/bin/, and I am trying to make nano highlight the bash scripting language code. I have been searching around, but I had no success: I got always some ...
1
vote
2answers
250 views

How to resolve: files which are visible in Terminal, but invisible in the Finder?

In Yosemite v10.10.3, I am trying to reinstall Skype, as it does not sign-in at all, following this link. In order to do so, I need to move some files and folders to trash as to totally uninstall ...
1
vote
2answers
46 views

Stop prompting to unlock disk

I have two hard disks on my 2012 Mac Mini. The first disk is partitioned with Mac HD and Data HD. The second drive has OS X Public Beta and Windows partitioned. I want to prevent OS X on my main disk ...
1
vote
1answer
129 views

Terminal Command Line to find corrupted files

I do have just one corrupted photo into my Photos Library. Is there is any UNIX command line that I can use in terminal in order to scan my Photos Library Folder and find out which file is corrupted? ...
0
votes
1answer
22 views

Folder created in Photoshop not showing up in finder

This is really crazy issue i'm experiencing here: I downloaded the newest Photoshop CC 2015 and started working with it to crop some images for a client. After that, i've saved all the images for the ...
1
vote
2answers
109 views

Could not determine GDB version using command: sudo /usr/local/bin/gdb --version

Eclipse (Mars) version (C programming language): Eclipse IDE for C/C++ Developers eclipse.buildId=4.5.0.I20150603-2000 MacOS version: OS X Yosemite 10.10.3 HW: MacbookPro 15" (mid-2015) Retina ...
0
votes
0answers
32 views

can't use installer to install pkg. file

When i try to install flash pkg with installer, the installer just jump on the dock and can't open, then i try to install in the terminal installer -pkg Desktop/Install\ Adobe\ Flash\ Player.pkg ...
2
votes
2answers
54 views

To install GNU time in OSX?

BSD time gives this kind of output 9990 real 0m4.371s user 0m1.548s sys 0m2.167s GNU time gives then again this kind of output 9990 1.56s user 1.46s system 82% cpu 3.648 total Brew search ...
0
votes
1answer
23 views

How to have more than one app in desktop space?

Whenever I click on the maximize/full screen icon on any window, the app window is going to a new Desktop space. But this is kind of distracting because now I am not able to switch apps by doing the ...
1
vote
2answers
59 views

Get part of result of command line in OS X

I would like to use the following command line to get the current Wi-Fi channel. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I I would like to use ...
0
votes
0answers
23 views

Script - Audio Files - Find, Count and Sort by type

I have a very large audio collection I have to sort. It's a mixture of M4A, FLAC, AIFF, WAV and MP3. It's the result of years of work by a now deceased person who sat in their garage ripping their own ...
0
votes
0answers
17 views

Want to copy whole data disk to ~/Backup/ and then eject, but having trouble finding the disk

I'm trying to write a script that searches for a disk in the external drive, if present have it rip the disk into a folder with the disks name and then eject, then continue searching for that disk. ...
-1
votes
1answer
55 views

Unable to delete locked file

I have a locked file on my machine that I'm unable to delete. I've tried everything (that I know of) and don't have a clue why it won't delete. Here's what I tried: Everything here sudo rm file.txt ...
2
votes
2answers
29 views

Command + fullstop VS Ctrl + C

Is there any difference between ctrl+c and cmd+. when stopping a terminal process?
0
votes
1answer
68 views

Trying to Install WWW:Mechanize and Getting Localhost Error

Okay . . . I've been trying to install WWW::Mechanize through CPAN and it always chokes at this line: t/local/back.t ........... 1/47 Error GETing http://localhost:60603/: Can't connect to ...
1
vote
1answer
51 views

Remove .plist from /LaunchAgents

Before I go to the issue, I did find a similar thread, but it's quite outdated and I'm not sure if it suits for me. Around two years ago when I got my Mac, I decided to install Seagate Media Sync for ...
0
votes
1answer
47 views

Get terminal application name from shell

I am used to my osascript aliases. In particular, I have nx for opening new tab and closing the old one. However, my scripts use application name to send keyboard signals to it. Instead of writing it ...
0
votes
2answers
166 views

Update bash to version 4.0 on OSX

Is it possible to actually update bash to version 4.0 in OSX Yosemite? echo $BASH_VERSION 3.2.57(1)-release This article and this thread refer to the same question, but they install a new shell ...
0
votes
1answer
29 views

Paste tool for OSX

There is paste tool in Linux but have not found for OSX. Its name was probably dpaste or something in Linux. Assume you run xxd -ps r328.raw | head -n2430 and you want to paste it to your friend. ...
1
vote
1answer
54 views

Can't see hidden files with Standard user

I am using my Mac as a Standard user. Running latest OSX 10.10.3 I have used the following command from terminal: defaults write com.apple.finder AppleShowALLFiles YES But I still can't see my ...
0
votes
1answer
30 views

What is the “host name” in bash? (\h or \H)

I set PS1="[\u@\H \w] in bash. So it should print the host name. But I do not understand the meaning and nature of the host name. Basically, I would assume that it is just a name I assigned to my ...
1
vote
1answer
46 views

To use STDBUF from Homebrew's coreutils

I run brew search stdbuf and get No formula found for "stdbuf". Searching pull requests... Closed pull requests: coreutils: upstream fix for stdbuf (https://github.com/Homebrew/homebrew/pull/32955) ...