Questions tagged [terminal]
A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, also referred to as a "system console".
4,945
questions
41
votes
8
answers
26k
views
How Can I Speed Up Terminal.app or iTerm on Mac OSX?
Every time I launch either iTerm or Terminal after not using it for a few hours, it takes anywhere from 10-20 seconds to return a prompt. The screen is blank, and although I can type I can't actually ...
30
votes
13
answers
41k
views
Undo the Linux trash command
Can we undo operations done in a terminal, for example, file deletion through rm?
Solutions obtained:
Aliasing
Undelete utilities
Backup utilities
LibTrash
Versioning (FUSE)
16
votes
8
answers
11k
views
What's a good substitute for gnome terminal? [closed]
Lately, I've been opening up several terminals at a time. Having to alt-tab between terminals is confusing. I need something that combines several terminals in just one window. What are good ...
4
votes
2
answers
2k
views
How do I create a terminal shortcut to open to a particular folder?
I've recently switched to a Mac and want to improve my workflow a bit. I often need to run scripts using the terminal that are in several different folders.
How do I create something like Windows ...
0
votes
3
answers
857
views
Anyone know how can I turn my Mac terminal into this?
How can I make my Mac terminal look like the screenshot below? The input line is cool and seems useful.
5
votes
2
answers
2k
views
How can I get iTerm to open a group of windows when it's started?
Apple's Terminal app allows you to save a Windows Group. It seems like iTerm probably has a similar sort of function, but I can't figure how to do it. Right now, it opens one window which is the ...
9
votes
6
answers
17k
views
Why does my LD_LIBRARY_PATH get unset launching terminal?
I have a shell script to set up some environment variables and launch whatever program I send in as an argument:
export PATH=$HOME/local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/local/lib:$...
0
votes
1
answer
2k
views
Mac OS Terminal: Why does sudo say that I don't have permission to do stuff?
I only use Terminal when I have been given exact instructions on what to type in. So, I am a novice. But, I was trying to create a bootable USB drive of Ubuntu, which requires Terminal commands (that ...
0
votes
1
answer
233
views
Why terminal shows "/home/igoru /etc/bash_completion" every time I open it?
I've added some lines to ~/.bash_aliases yesterday... And today my gnome-terminal started showing me this expression in the beginning, just before the prompt.
/home/igoru /etc/bash_completion
igoru@...
1
vote
2
answers
112
views
Error message shows up in terminal
Every time I fire up a terminal window, I get the following error message:
bash: exxport: command not found
I know I misspelled aa symlink somewhere, but I can't find it. Is there any way to ...
1
vote
2
answers
1k
views
Why does my terminal turn all text white?
When I launch terminal, it looks fine. Black text on a white background.
BUT when I run a command that requires the screen to scroll, it turns to white text on a white background. I have to triple-...
200
votes
8
answers
171k
views
Why does terminal say: "You have mail"?
Any idea why my Mac terminal says:
You have mail in /var/mail/lofye
How can I make it stop saying that every time I open terminal?
1
vote
1
answer
201
views
What SSH server software for Windows support direct screen access applications?
SSH for Windows does not support applications that implements direct drawing to the terminal screen buffer (like FAR Manager I mostly interested in using with SSH). What other SSH servers supports ...
1
vote
2
answers
375
views
How do I get my MacOS X terminal key mappings fully in sync with my Windows XP key mappings?
I have a Windows laptop at work, running cygwin.
I'm very comfortable with its key mappings.
My ideal setup would be for my Terminal app on my Mac home computer to have the same key mappings. It's ...
5
votes
5
answers
10k
views
Mac Terminal: changed my shell, now can't start it
I installed bash 4.0 via MacPorts, then used sudo chsh -s /opt/local/bin/bash my_user to change my shell.
Before that I tried just running plain chsh without sudo, but it wouldn't allow me to change ...
3
votes
2
answers
2k
views
How to make screen terminal emulation act more like xterm or rxvt for init/uninit
Programs like less and full-screen editors work well with terminals like xterm and rxvt, because the terminal initialization and uninitialization lets the terminal save current screen contents and ...
7
votes
1
answer
2k
views
why is screen not showing the current running process name? (Mac OSX Terminal bash)
I am running screen inside Mac OSX Terminal app (bash).
Here is the screenrc (got it from here):
$ cat ~/.screenrc
termcapinfo xterm* ti@:te@
startup_message off
defutf8 on
shelltitle "$ |what?" # ...
89
votes
7
answers
158k
views
terminal tool (linux) for repair corrupted zip files
I've a corrupt zip file. I've tried to repair it with
zip -F file.zip
and
zip -FF file.zip
but was not successful. Is there another terminal tool under Linux for repairing?
9
votes
6
answers
2k
views
Text terminal hardware (for Linux)
Is there any way to obtain a hardware text terminal (preferably small in size) with a screen and a keypad to connect to a Linux machine (preferably via USB)? I'd like to be able to log into a command-...
3
votes
3
answers
2k
views
Terminal: On wake, mount external disk automatically
I'm new to Terminal, so feel free to state the obvious.
SleepWatcher runs scripts right before and after your Mac goes to sleep. I've got a script to unmount an external disk before sleep, then ...
15
votes
4
answers
40k
views
How to remove duplicate "ghost" network drive on OS X?
In terminal my Volumes directory looks like this:
"Sanitized"-Computer:Volumes "sanatizedUserName"$ ls
Backup of "Sanitized"’s MacBook Macintosh HD
LaCie iDisk
LaCie-1 ...
3
votes
1
answer
853
views
Can't chown a timemachine file after migrating to a new Mac
I followed the directions here:
http://www.macosxhints.com/comment.php?mode=display&format=threaded&order=ASC&pid=97623
Everything seemed to go well, but I still can't open my Time ...
10
votes
4
answers
32k
views
Terminal escape character for hexadecimal input
In my usual gnome-terminal I do a
netcat -u somewhere 1234
to start sending UDP packets to somewhere. I need to transmit the following 5 bytes, written in hexadecimal: "01 00 af 0f e1". Now how do I ...
3
votes
3
answers
1k
views
Why does M-RET become C-M-j
I suspect this is some sort of magic terminal definition thing but I've noticed some magic keys not working on terminals. When I type M-RET to create a new item in org mode I instead get a newline. M-...
2
votes
1
answer
2k
views
What is a good KDE equivalent to tilda on Gnome?
Or is tilda already KDE equivalent? Performance is important.
5
votes
6
answers
5k
views
Why doesn’t windows explorer show my removable / USB drive even though the command prompt does?
I'm running WinXP SP2. Around 50% of the time, when I slot in my USB drive. Windows explorer refuses to show the drive.
If I click on the Safely remove hardware icon on the tray,
I can see a menu ...
26
votes
2
answers
16k
views
How can I make the terminal window close automatically on OS X?
Whenever I type 'exit' or I logout, the terminal window stays open and I have to close it manually. Can I change this behavior?
1
vote
1
answer
2k
views
Display non-ascii characters correctly in hunspell
I'd like to use hunspell form the command line to spell check a few text files.
The files are utf-8 encoded and contain some umlauts and other strange characters.
Some words show up like this
...
6
votes
8
answers
3k
views
'End Process' equivalent on linux
Currently i am using the system monitor of gnome. It is like task manager, and has a function to end process, but sometimes this makes everything freeze and it locks up. Is there any way to fully end ...
6
votes
2
answers
846
views
Can I have a bunch of tabs set up when I launch Terminal?
Every morning I launch the OS X app Terminal and tediously set up a bunch of tabs...
A ssh session to a certain server ($ ssh ...)
A script/console session for the Rails app I'm working on ($ cd ...
4
votes
3
answers
6k
views
OSX window groups
I have a window group saved with 3 terminals set up how I like them and I have a shortcut to that opens this window group on my desktop. Now I want to add a startup command (possibly different ...
4
votes
4
answers
1k
views
Transparent, unicode X terminal not tied to a Desktop Environment?
I've been looking for this for a while now and I just haven't been able to find one. The last few that I used were:
aterm - this one was fast and had good transparency support, but it doesn't ...
3
votes
2
answers
640
views
Mac OS X: simple script wanted
I'm looking for a simple script that will do the following. Can anyone take a shot at it (+ if cryptic, please explain what it does), or give me some pointers so I can run this myself?
I want to ...
106
votes
3
answers
105k
views
Mac OS X: conventional places where binary files should live
I've downloaded an application that is a command-line application, and want to put it somewhere where I can run it from the command-line without having to type the path explicitly.
What are the ...
16
votes
2
answers
12k
views
How can I get OSX Terminal.app to open fullscreen and not cascade?
I prefer to have separate Terminal App windows rather than tabs. If I open a new windows then it always wants to cascade and I can never get it to go fullscreen.
Solution?
4
votes
4
answers
158
views
Using public terminals to login your personal credentials
Do you trust public terminals?
If you need to check your email, and you have no other option then to use public terminal near by, would you still use it?
Is there any way to protect your self from ...
2
votes
1
answer
1k
views
How do you unlock a locked alias file in OS X?
There is no sharing and permissions tab present in the "get info" pane.
Using "sudo chflags nouchg [filename]" on the file has no effect though also throws no errors in the terminal
Trying to delete ...
48
votes
2
answers
70k
views
How to send the escape character on OS X terminal?
Connecting with telnet looks like this:
$ telnet some.host
Trying 10.1.2.3...
Connected to some.host.
Escape character is '^]'.
I'm running this on the OS X Leopard terminal. Question is, how do I ...
2
votes
5
answers
2k
views
Mac OS X 10.5.7 Installing Wine with sudo and MacPorts
Using a Macintosh with OS X 10.5.7. Unsure how to operate terminal, and trying to install Wine using Mac ports. Unfortunately the sudo command doesn't perform as expected.
******-imac:~ James$ sudo ...
88
votes
7
answers
50k
views
Using Ctrl-Tab to switch between tabs in Mac Terminal.app
How can I make Ctrl-Tab and Ctrl-Shift-Tab switch between tabs in Terminal.app on a Mac (OS 10.4 and 10.5 specifically)? This is how I switch tabs in Firefox and Aquamacs, and Command-Shift-[ and ...
2
votes
1
answer
38
views
Unable to understand a folder which moves my location in terminal
I am at the folder wcw. I run
$pwd
/Users/cs/Coding-projects/wcw
$ls -lsa
total 0
0 drwxr-xr-x 5 M staff 170B Apr 5 16:56 .
0 drwxr-xr-x 3 M staff 102B Apr 4 11:25 ..
0 drwxr-xr-x 12 M ...
4
votes
3
answers
1k
views
Arrow keys does not work in cscope in Terminal on Macos
I am running cscope in Terminal on MacOS by using cscope -d.
But the arrow keys ( ↑ / ↓ ) do not work, as I need to navigate from 1 query to another.
Can you please tell me how can I fix that?
402
votes
21
answers
562k
views
How do I detach a process from Terminal, entirely?
I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy.
However, I'm struggling with how to completely detach a ...
84
votes
5
answers
75k
views
How can I change the keyboard shortcut for switching tabs in Mac Terminal?
I know that you can switch tabs with shift cmd [arrow key] in Mac Terminal, but it is painful to reach the arrow key. How can I change the default keybinding?
67
votes
9
answers
46k
views
How can I get the Mac Terminal to not beep?
I'd like to prevent the Mac Terminal program from beeping, for example when there are multiple possible completions when I hit TAB. I looked in the preferences, but there's nothing about beeping.