All Questions
87
questions
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 ...
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 ...
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?
...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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:
...
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 ...
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?
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: ...
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 ...