Skip to main content

All Questions

Tagged with
4 votes
0 answers
305 views

Matching bracket selection on gnome-terminal, like Mac OSX terminal

I have recently fallen for a (non obvious) feature of the Mac OSX terminal: Given a display of some kind of deeply nested text with lots of matching brackets, parenthesis, or quotes (ie. JSON), the ...
codysehl's user avatar
  • 348
8 votes
6 answers
3k views

In Bash (Mac/Linux terminal shell), can the up and down arrow keys be made to function as they do in text editors?

In text editors, if I press the up and down arrow keys, it moves the cursor between lines of text. In Bash, if I’m typing a long command that spans multiple lines and I press the up and down arrow ...
Frungi's user avatar
  • 215
0 votes
1 answer
216 views

Access Win Partition in Terminal Mac OS X

Is it possible to access (mount?) a partition in Mac OS X through the Terminal? Located at /Volumes/Windows HD/... I have VMWare fusion, but is it possible to access files through the Terminal? ...
sweeds's user avatar
  • 103
1 vote
2 answers
4k views

Script to auto execute creation of ssh tunnel

I'm a CS student, and still learning a lot of these things, and so please bear with me if I don't have a full grasp on what I'm trying here. I'm on a Mac, connecting to a linux machine. I can set up ...
Rebecca's user avatar
  • 11
0 votes
2 answers
4k views

Pass arguments to Unix executable in Mac terminal

I'm pretty new to Unix coding and would like to work on a few simple networking projects. I found a few tutorials that are exactly what I am looking for - this one in particular: http://www....
Cbas's user avatar
  • 105
1 vote
1 answer
641 views

Unable to launch app from /usr/bin

OK, this question may sound too basic, but this doesn't mean I'm not still a bit confused : I'm running OS X 10.6.8 (shouldn't make much difference though, the issue is more like *nix-specific) I had ...
Dr.Kameleon's user avatar
0 votes
2 answers
136 views

Regarding Backup While Using CP

I have some files on the Desktop /Desktop/F1/T1 /Desktop/F2/T2 I want to copy those files to another folder like Destination but If the destination contains a file with same name I want to backup ...
Niresh's user avatar
  • 233
3 votes
2 answers
1k views

What are the following keyboard shortcuts in a terminal?

I am trying to figure out a few keyboard shortcuts in a terminal in Mac OS X (and Linux): In the command line: go to the next word go to the previous word go to the end of the line go to the ...
kloop's user avatar
  • 65
4 votes
1 answer
721 views

BASH Completion: Ignore repeated?

I have a bad habit of pressing TAB too many times when using the terminal. If whatever bash completion routine invoked is particularly slow, this causes a huge wait while the terminal shows me the ...
leek's user avatar
  • 154
3 votes
2 answers
2k views

Command-line interrupts in OS X vs Linux

Occasionally, when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctrl + C in the active terminal window If nothing happens, I'll open a new ...
Yarin's user avatar
  • 406
4 votes
2 answers
6k views

How to configure the ANSI colors of the command line terminal

I specifically use bash on Mac OS X, but I think the answer would be Unix-generic. I'm already using ANSI colors, but I'd like to reassign different colors to folders, hidden files, etc. Update: ...
Petruza's user avatar
  • 3,883
0 votes
2 answers
929 views

Downloading files from FileSonic via terminal without a premium account

I found various blogs on the internet about how to download a file from FileSonic, Hotfile, Rapidshare, etc. from a Linux terminal if you have a premium account. Is there any way to download a file ...
coure2011's user avatar
  • 1,629
2 votes
2 answers
11k views

what is the difference between terminal in Mac OS X and Ubuntu

Both Mac OS X and Ubuntu (and other Linus OS) has terminal / command line. Are these terminal identical across different OS? If not, what are the important difference?
KMC's user avatar
  • 2,019
3 votes
1 answer
2k views

How do I keep mac terminal keybindings when connected via ssh to a linux server?

My Setup computer: Macbook pro OS: OS X Snow Leopard Software: Terminal.app, GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) The Server's Setup Hardware: Not sure OS: ...
Sam Murray-Sutton's user avatar
1 vote
1 answer
1k views

Password Protect file or lock file from command line

I need to lock a file where if anyone tries to open it then it requires a password. I would like for even root to have to type in a password different from the root's password itself. I'm not sure ...
user avatar

15 30 50 per page