Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
34 views

How to use Terminal to delete all .svn folders recursively?

what command can I type into Terminal so that I can: delete all .svn folders within a folder (and from all subdirectories) but not delete anything else ?
0
votes
2answers
32 views

Mac OS Lion Terminal: Add blank line after command output?

How can I configure my .bash_profile to add a blank line after any command output? Thanks.
0
votes
2answers
18 views

Deleting file with reserved characters via SSH

While developing a server-side application, I accidentally created a couple of files that are named similar to this: files.json Even after I add the necessary backslashes to try to rm those files, ...
-3
votes
0answers
47 views

OSX Terminal Shell to Backup Website+Database [closed]

all i need to be write shell script in macosx to backup my website files and database and compress it and download locally to computer. please help me.
1
vote
1answer
184 views

Setting iTerm2 as the default terminal (OSX Lion)

I would like to set iTerm2 instead of terminal.app as my default terminal. Go2Shell for example let you open a terminal to the current directory in Finder. I want to ba able to use iterm2 instad of ...
0
votes
1answer
72 views

No colors in Terminal.app

Somehow my colors in Terminal.app are completely borked. If I load up Vim with syntax on, there are no colors, but line numbers are underlined (and so are some other parts). It looks really really ...
2
votes
1answer
94 views

How to list network shared items in terminal

Is there a way to list the network shared items in the Terminal command line the way Finder sees them in the Mac OS X GUI?
1
vote
0answers
14 views

How can I externally open a terminal with specific “settings” in Mac OS X Terminal?

How can I cause Terminal to open a new window with a specific “Settings”, without having to mouse into the File menu, but rather by opening a file or running a command or AppleScript (i.e. something I ...
0
votes
0answers
30 views

Terminal cursor won't blink [closed]

My Terminal cursor was working just fine a couple of hours ago. Then I was playing around with the Terminal preferences, ~/.profile and /private/etc/bashrc and now the cursor won't blink (see note 1), ...
0
votes
2answers
131 views

Can you do any damage with “rm -R *” on a Mac?

I just cd to "/" on a Mac and accidentally entered "rm -R *". I know the command means delete everything in "/" but I wasn't sudoing, should I reinstall Mac OS? Or does a mac protect against this sort ...
1
vote
3answers
307 views

How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion?

I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly. I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ...
3
votes
2answers
190 views

How can you customize your terminal bash prompt with smiley faces?

I'm trying to figure out how I can customize my terminal's bash prompt to use smiley faces. What I want (as seen in the example blow) is for the cwd to be separated from the prompt by a \n and show a ...
1
vote
1answer
60 views

enabling colors in the python interactive shell on OS/X

I have just modified my .bash_profile so as to have colors in iTerm and Terminal. Now, I want to enable syntax highlighting for the Python interactive shell, IDLE-style. How to do that?
1
vote
2answers
72 views

Have a script execute a command randomly every now and then

I have a script which I am scheduling to run daily with Cron. However I want a certain section of the script to only run randomly occasionally, with a certain probability of executing on any given ...
0
votes
2answers
98 views

Why can't I open the easter eggs like Tetris on Emacs?

I am in terminal on a Mac, and I type in emacs tetris. It comes up with a blank page and something at the bottom saying: Loading image...done, but that is it. I leave it for a little while but nothing ...
0
votes
1answer
62 views

How can I stop OS X Lion from reopening multiple terminal windows?

How can I stop OS X Lion from reopening multiple terminal windows when I relaunch Terminal.app? When I launch terminal, two windows spawn.
1
vote
2answers
109 views

Why can't I paste from clipboard to OS X Terminal.app when it contains special characters?

For instance, if I have one or more of the following characters copied into clipboard, a paste into the terminal window will not work: “ ” ’ – This is pretty annoying, actually, one would think ...
0
votes
2answers
270 views

How do I change the computer id on my mac?

I bought a late 2009 Mac Mini recently, updated it to Lion, and was rather frustrated to find that even after changing the Bonjour, DNS, and local network name, the terminal prompt (and "Computer ID" ...
0
votes
1answer
39 views

On the Mac, how can I get saved Terminal window groups (or other saved window groups) to work across multiple Spaces?

I've got a nice startup script on my computer that opens up the various applications I need to get to work, making good use of Terminal's "Windows"->"Save Windows as Group"/"Open Window Group" option. ...
1
vote
1answer
56 views

Adding an alias to .bash_profile removes other commands?

Before touching .bash_profile: mongod launches a mongo server, rabbitmq-server launches a rabbit server, etc. But once I add: alias ethertunes="sudo NODE_ENV=development nodemon --debug ...
1
vote
0answers
56 views

osx - Set application access to certificate via command line

I want to allow permanent access to certificates for certain app (eg codesign) via command line. The gui equivalent would be clicking "Always Allow" when prompted. However I only have access via SSH ...
5
votes
1answer
77 views

Can I scroll Terminal down when there is nothing to scroll?

When I reach the bottom line, I want to be able to “scroll” down the virtual space so the prompt is at the top again (like in the beginning): Is there any way to do this? This becomes even more ...
1
vote
1answer
56 views

Can't copy/paste to/from system clipboard in Terminal on Mac

I can't copy or paste to or from the system clipboard within the Terminal. Neither Cmd-C/Cmd-V nor menus work. Instead, Terminal seems to be using it's own buffer for copy/paste operations. I am ...
0
votes
1answer
163 views

Switching terminal character encoding while using TotalTerminal

I'm using the TotalTerminal 1.1.3 terminal.app plugin on Lion (10.7.1) for a visor-style terminal. TotalTerminal uses/creates a special profile which is used for every new tab opened in terminal.app. ...
-1
votes
1answer
119 views

iTerm 2 on Mac OS X - How to get rid of all characters before the $ on each line?

I installed iTerm 2 but my shell windows show: "computer name":"current directory" "user" $ This is far too long. I'd like to just see: "current directory" $ Is there an option for this? I ...
9
votes
1answer
303 views

What does Terminal app's “Show Alternate Screen” do? (OS X)

Today, I discovered a menu item called "Show Alternate Screen" in Terminal.app. I am just curious about what it does. It seems to be sharing the same shell process (unlike tabs), since I see output ...
1
vote
2answers
284 views

Mac Terminal Script to remove hidden files

My car stereo can use USB flash drives to play music from, so I asked about Copying MP3s from an iTunes playlist. That was all fine and dandy, except my stereo wouldn't play the MP3 files. I ...
3
votes
4answers
3k views

Hostname issue in Mac OS X Lion

I've recently bought myself one of the new mid-2011 Mac Minis with OS X Lion, I'm completely new to Mac OS but I've used linux quite a bit before. The problem I'm having is that at the terminal my ...
1
vote
3answers
260 views

Ctrl + A doesn't work in Bash Terminal on OS X Lion

In bash windows using the Terminal.app on OS X Lion, I can no longer use ctrl + A as a shortcut for going to the start of the command line. Other ctrl characters like ctrl + E don't work any longer ...
1
vote
2answers
362 views

Different Terminal color theme for remote connections?

Is it possible to set Terminal to use a different theme for remote connections. I often have several Terminal windows open at once for both local and remote work and it would be really handy to have ...
3
votes
1answer
123 views

OS X Lion man pages missing flags

I upgraded to Mac OS X 10.7 on Saturday, and have been restoring some of my applications that I build from source, when I noticed that the man pages are failing to render the command line flags ...
1
vote
1answer
122 views

launch application from osx terminal in 32bit mode

How can I pass an argument to the "open" command to launch an application from the terminal in 32-bit mode? open /path/to/some.app [--args arguments] I have to manually check and uncheck the ...
7
votes
2answers
1k views

Resume Zsh-Terminal (OS X Lion)

OS X Lion has "Resume" feature, i. e. when you reopen an app it restores all windows and their contents. That works for Terminal as well. But if you use Zsh instead of Bash it doesn't restore opened ...
1
vote
1answer
466 views

Use terminal scrollbar with tmux

I know how to scroll in tmux using the keyboard, but I noticed that it looks like there's a way to use the terminal scrollbar with GNU Screen. Can this be done with tmux?
1
vote
2answers
239 views

Is it possible to stream windows applications to Linux via VNC?

Is it possible to stream windows applications to Linux via VNC? Need only some apps not a whole desktop.
1
vote
1answer
125 views

Where to learn more about OSX terminal app keyboard settings codes?

If you look at the Terminal->Preferences->Settings->Keyboard pane it displays how some keyboard keys and combinations map to shell strings. The list seems really strange to me as it's missing a lot ...
5
votes
2answers
195 views

Capturing remote output locally in Mac Terminal

I want local programmatic access to ssh output in Mac Terminal. First, I tried redirecting the output of each command to a file. The file was perfect, but of course it was on the remote server, and ...
2
votes
1answer
134 views

Mac Terminal Color Changes after ssh

Whenever I ssh to my linux system from Mac. It started using remote system color. Is there a way I can force it to use original color ?
8
votes
1answer
489 views

Making ls aware of “hidden” file flag

Is it possible to make ls aware of the hidden file flag on Mac OS X? Currently, a simple ls -lO produces: $ ls -lO total 0 drwxr-xr-x@ 84 danielbeck staff - 2856 29 Mai 22:44 Applications ...
1
vote
3answers
88 views

On a Mac, how can I group together commands I want run into a alias?

In my .bash_profile I have created alias to commands that I run often. What if I want to group together multiple commands together, and they should run in serial one after the other. How would I do ...
1
vote
2answers
410 views

Mac: truly detach process from Terminal.app

On Mac OS 10.6.6, I want to make a bash alias or function that will run Google Chrome. Launching Chrome is easy: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome". The problem is how to ...
1
vote
0answers
382 views

How to remove the scrollbar in Terminal.app on Mac OS X 10.6?

If there is a way. I know iTerm2 has it.
0
votes
1answer
157 views

How can I get the Snow Leopard Terminal app to act like the Leopard Terminal app?

The delimiters for double-click text selection in the Leopard Terminal app (version 2.0.2) included slash (/) and period (.) -- the delimiters for double-click text selection in the Snow Leopard ...
0
votes
0answers
110 views

Cannot open Terminal in OSX

I inconsistently cannot launch the Terminal application. It will bounce up and down and then never come online. Other applications are running... This behavior is a recent one. If I reboot my system ...
2
votes
2answers
100 views

Terminal.app characters set changes — completely illegible

I was just ssh'd into my server (Ubuntu 10.04.2), and I ran aptitude (in interactive mode). Once I pressed one key (one of the letters, g I believe), it turned into this (not just the SSH session; ...
0
votes
2answers
114 views

Changing OS X bash/terminal to a dark scheme

I followed the directions here and the colors are correctly showing, however the background is still white, what else do I need to do? Note: I did a sudo nano ./bash_profile instead of .bashrc
0
votes
1answer
123 views

How to prevent Terminal.app from closing when ssh is running?

Usually if a program is running in Terminal.app, when you try to close it it will give you a warning "Do you want to close this Window?" This happens to almost everything that I have tried, including ...
1
vote
1answer
181 views

Terminal.app fonts broken on Mac Snow Leopard

About an year ago I installed gnome fonts on my MacBook Pro and I use them for Terminal.app Today I was using Terminal with three windows open and suddenly the app has quit (I don't know if I ...
0
votes
1answer
321 views

How can I prevent OS X Terminal.app from overriding vim colours on a remote system?

As my primary workstation, I use a mac running OS X 10.5. I spend much of the day ssh'd into remote systems and am working on grokking vim. One of the things I want to do is experiment with different ...
0
votes
3answers
149 views

Display Unicode Tetris boards in Terminal — or how to dynamically decrease line height

I am using black squares \xe2\x97\xbc◼ and white squares \xe2\x97\xbb◻ to display tetris boards in my shell. Unfortunately there is quite a visible line spacing between rows and that just doesn't look ...

1 2 3