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

2
votes
1answer
171 views

Move all contents from a folder to another with shell script

Why does this work? mv /Users/diogosaraiva/Music/Youtube/Novas/* /Users/diogosaraiva/Music/Youtube/Tratadas …but the commands below don't work? mv "/Users/diogosaraiva/Music/Youtube/Novas/*" ...
0
votes
0answers
45 views

Why can't I type 'e' in terminal?

It beeps when typing the lower case of e .Tried to change the VT100 mode, still doesn't work.
1
vote
2answers
43 views

How do I remove a directory that has a file with colon in it

I am trying to delete a directory with rm -rf however I keep getting the error Directory not empty. If I do an ls on the directory I see this message ls: HTML : CSS: No such file or directory. So it ...
3
votes
2answers
390 views

Creating System-Wide Keyboard Shortcut To Launch Applications

I recently switched from Ubuntu, and I was feeling very comfortable with using Ctrl + Alt + T to launch terminal. Can I assign Shift + Cmd + T to do the same thing in Yosemite? Specifically, I want a ...
2
votes
0answers
34 views

Terminal Quit menu item greyed out

I ran various commands in Terminal app, including calls to "open" from Midnight Commander (although, that might be completely unrelated) and suddenly it started to behave strangely. The cursor was ...
0
votes
1answer
49 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
291 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
1answer
97 views

Terminal highlight color changes when window is not targeted

I have a terminal profile in which I changed the highlight color (let's say, to green). I didn't like it so I changed it back to blue. Now, whenever I am targeting the window and I highlight, the ...
1
vote
0answers
36 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% - ...
0
votes
3answers
69 views

What's the best way in terminal to move a file from deep in one directory to deep into another?

E.g. /desktop/a/b/c/file.txt and I want to move the text file to /desktop/x/y/z/ Thanks for any help!
1
vote
2answers
75 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 ...
0
votes
1answer
2k 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 ...
1
vote
0answers
51 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 ...
5
votes
1answer
254 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 ...
0
votes
1answer
56 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 ...
2
votes
1answer
19 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
0answers
19 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
66 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 ...
0
votes
2answers
64 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
27 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
225 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 ...
0
votes
1answer
161 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 ...
1
vote
1answer
45 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
28 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
92 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
119 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
599 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
137 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
85 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 ...
2
votes
1answer
39 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 ...
2
votes
2answers
422 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?
1
vote
0answers
37 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 ...
0
votes
1answer
115 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
98 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
1answer
108 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
409 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 ...
1
vote
0answers
26 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: ...
0
votes
0answers
26 views

How to download via home-brew when connected though Internet dongle?

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command brew install python But I am getting failed to download errors. ...
1
vote
0answers
35 views

Finder's akward filesize behavior

Updated my os from Snow Leopard to Mountain Lion a week ago and noticed strange filesize info inside 10.8.5's finder. The info on filesize/foldersize in 10.8.5 is different from 10.6.5. While a folder ...
6
votes
2answers
3k views

Terminal not working after Yosemite installation

I installed Yosemite now and after the installation the terminal is not working. It used to work before, but after installation of the new OS X on Mavericks it is no longer working. How can I resolve ...
1
vote
1answer
79 views

Move files if file name doesn't exist considering extension

For example, in folder A, I have foo.jpg and bar.jpg. In folder B, I have foo.png and foobar.png. I only need one version of the file regardless of the extension, so I only want move foobar.png to ...
1
vote
0answers
23 views

Terminal command not found [duplicate]

So I was going thru RoR tutorial, installed heroku, heroku toolbelt. I got an error message from Heroku to update to newvest Git for safety reasons. I tried that with installer but heroku version ...
0
votes
1answer
84 views

Terminal stuck at error won't accept any commands.

I was trying to install CLI package from github but I messed up during the process and ended up getting this error. It is persistent and won't go away. Terminal wont accept any commands like mkdir, ...
1
vote
1answer
93 views

Can't find file saved in Propellerhead Reason 8

I made a song in Propellerhead Reason 8 and I named the file ".cubicle..reason" but now I can't find the file. I was wondering how I could use terminal to locate the aforementioned file.
0
votes
0answers
87 views

No java installations was detected, although I have Java

$ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) $ which java /usr/bin/java ...
6
votes
4answers
125 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 ...
3
votes
1answer
261 views

Force Macs to run Xprotect updater through terminal to get latest NTPD security patch

Apple released the the patch for an NTPD hole. This patch is automatically updated if you have SystemPreferences-->App Store-->Install system data files and security updates; checked. Which we don't. ...
1
vote
2answers
101 views

How to execute Terminal command using selected text?

I want to bind a shortcut to run a command in Terminal with text that I selected while web browsing. How could I do this?
0
votes
1answer
124 views

Slow mac when Terminal have been open for some time

When I have Terminal.app open for some time (mostly after 2-3 hours), everything starts getting slow. When I type there is a delay for each character, and all applications lag when I scroll. If I ...
1
vote
1answer
288 views

Escape single quote in command in alias Terminal

I am working with SVN for version control, and whenever I'm ready to commit some changes, I have to stage them all with the following command: svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk ...