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, ...

learn more… | top users | synonyms

0
votes
2answers
1k views

Add color palette for Sakura terminal

How can add my own color palette in Sakura terminal? I use Ubuntu 12.04, and in options menu, I see only tango, Linux, xterm and rxvt palettes available.
0
votes
1answer
744 views

downside / dangers of using “purge” command to free up ram in terminal - mac

in osx terminal if you can run the command "purge" this clears up all the inactive ram leaving you in a similar state as just after rebooting. Its such an easy command to run why dosnt it run ...
0
votes
1answer
1k views

Open a terminal window & run command, then close the terminal window if command completed successfully?

I'm trying to write a script to do the following: Open a terminal window which runs a long running command (Ideally) move the terminal window to the top left corner of the screen using xdotool Close ...
1
vote
2answers
1k views

Can I set Shift Tab and Ctrl Tab to change to next and previous window in OS X Terminal?

I've got a Cyborg Rat 7 mouse with a thumb roller, which is great. I use it in Chrome to switch quickly between tabs right and left. I've got the left/right roll to be Ctrl+Tab and Shift+Ctrl+Tab. ...
2
votes
1answer
285 views

Terminal programs sometimes require ctrl-D to end text input

Occasionally a terminal gets into a state where the Enter key no longer properly terminates text input prompts. For example, when running sudo I generally just type my password and push Enter. ...
0
votes
1answer
242 views

windows terminal commands not working

I don't know why, but terminal commands aren't working on Windows anymore. Is there something I can look at to see what may be broken? Does anyone know what might have cause this? Or how to repair ...
1
vote
2answers
2k views

Ubuntu 12.10 VirtualBox Terminal

I have recently installed Virtualbox 4.2.4 and I start a Ubuntu 12.10 image (*.vdi) under Virtualbox. It starts and works fine. But weirdly I did not find any link to open a terminal(whichever ...
1
vote
1answer
1k views

Home and End keys in Emacs don't work when run from Tmux

When I run Emacs from Tmux, the Home and End keys do not work (Home key runs the Search command as if C-s was pressed). The problem started when I added this in my ~/.bashrc file: TERM="xterm" export ...
0
votes
1answer
244 views

Shift+Alt key combination blocks input in terminal (Ubuntu 10.04)

I have a weird problem with polish accents on Ubuntu 10.04 in terminal (no X server). When I try to type big letter Ł, it works when it is typed by pressing right Alt+Shift+L. BUT when you press Shift ...
2
votes
1answer
397 views

Is it possible to automatically attach to a tmux session using Chrome's Secure Shell extension?

Using Secure Shell in Chrome, can you automatically attach to a tmux session when SSH-ing to a server? If so, how do you do that?
8
votes
3answers
25k views

How to reset Bash on Mac OSX, .bash_profile corrupted and bash no longer works

I am on a MacBook Pro, running the latest version of Mountain Lion. I really need some help, I have managed some how to damage my .bash_profile (I think) so that every time I open up the terminal I ...
1
vote
1answer
1k views

Error when trying to enable x11grab in ffmpeg

I've lost a day of work over this. Trying to set up ffmpeg so I can do screen captures and just receive error after error after error. However, the root issue is that I can't even seem to enable ...
2
votes
1answer
586 views

How to use ALT commands in a terminal on OS X?

In iTerm2 (and OS X in general), hitting altT inserts †. How can I use the alt key to send the correct keystroke to iTerm2 ( in this case, in order to swap two words). PS: Using esc instead is not ...
5
votes
2answers
513 views

Weird rendering artefact in vim (terminal, not MacVim)

Running Mac OS X, using either Terminal.app or iTerm2, there is a strange artefact with the character rendering that I have a hard time explaining and an even harder time understanding. I'll start ...
1
vote
0answers
31 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
5
votes
1answer
571 views

Nohup & Sass: Process keeps running but, after a while, *.scss files do not get compiled

I am using Sass on a CentOS 5.8 server and want it to keep running after SSH logout, so that other users can edit *.scss files for days or even weeks to come without any need to start the program each ...
2
votes
1answer
348 views

Locking down firmware to keep stolen laptop from being formatted?

On the Mac laptops there are ways through the terminal to lock down the computer so that if someone tries to format the computer they won't be able to do it without the password. This way locks down ...
1
vote
1answer
834 views

Generating the escape sequences for terminal by ahk

I am trying to make an ahk for putty to send the keycodes that I want for some key combinations in order for my program to work over terminal too. For this I have an ahk already with some key ...
1
vote
2answers
383 views

How do I delete a directory from Terminal without knowing its name?

I have a directory which I want to delete. The directory's name is a random string of letters and numbers. I know the path to its parents directory, so how would I recursively delete the contents of ...
0
votes
1answer
135 views

Use latest version of installed Git on OS X

I'm trying to use the latest version of Git on my OS X computer, without success! When i write git --version, I see the pre-installed version 1.7.10.2. I would like to use 1.8.0 that i have also ...
2
votes
1answer
442 views

How to display escaped characters in tmux status bar

i am running tmux from a tty on an embedded linux device. (NOT a terminal emulator) because the screen is rather small, i want to add some "icons" to the tmux status bar. to achieve this, i have ...
0
votes
0answers
156 views

Hitting left arrow in my Mac terminal during a console program execution displays characters ^[[D. Why?

These work fine when typing in the shell itself (no child processes, just the prompt) - I can edit the input line before submitting it as command input to the shell. But when I am running a program, ...
1
vote
1answer
188 views

Does “x-terminal-emulator” work on OS X?

Linux has a command x-terminal-emulator that will activate a new terminal emulator. And i believe it works with the set default emulator. Does OS X have a similar command or the same command? Do all ...
0
votes
2answers
1k views

Terminal games like nethack? [closed]

I recently stumbled upon nethack while searching for linux games, and I must say it is amazing. As a result, I also found about BSDgames and have played most of the games in there. Are there any other ...
1
vote
2answers
1k views

Use cmus or other terminal music player with Google Play (Music)

Can you play/stream music through the linux terminal using a command line application from your Google Music/Play Account? If so how, and with what application?
4
votes
3answers
444 views

UP arrow key on Apple External Keyboard not recognized in OSX Lion terminal

I have a MacBook pro for work use, and just got my hands on an apple USB keyboard. When I am in the terminal, using the external keyboard ONLY I receive weird characters when I hit the UP arrow key. ...
2
votes
1answer
2k views

curl: (7) couldn't connect to host

I know some people have asked this question before but I don't understand some of the answers. I'm a Mac user trying to instal Homebrew but I keep getting this error message: curl: (7) couldn't ...
3
votes
1answer
192 views

How to log in which terminal session a zsh command was run

In zsh's history file, all commands are logged from all terminal sessions. Is there any way to log in which terminal session a command was run (i.e., a unique identifier for this instance of the ...
0
votes
1answer
716 views

Linux terminal colour highlighting?

I'm wondering if it's possible to apply a customised highlighting scheme to linux terminal output, outside of the application that's generating the output. (Therefore, piping the output to some kind ...
2
votes
3answers
10k views

Open root terminal without switching user (OS X)

I'm not in sudoers: ..... is not in the sudoers file. This incident will be reported. How can I sudo in this terminal window, without switching user? The well-known command sudo -u ...
3
votes
1answer
902 views

scp no such file

I'm on mac osx getting a file from a remote server. I run the following command: scp remoteusername@remotehostip:/home/username/file.tar ./Users/localusername/Documents/specialdir I get the ...
9
votes
2answers
7k views

How can I hide or remove the split-pane bar on the right in Mac terminal?

What do I need to do to remove the split pane sidebar on the right from the terminal window? Never used to have it and now I don't know how to get rid of it.
1
vote
0answers
3k views

How to Connect internet through wifi from terminal in Ubuntu 12.04?

I had recently installed ubuntu sever 12.04 on my Lenovo laptop. As a first task i was tying to connect to wifi through it. Since there is no GUI the task is to be done through terminal. I was ...
1
vote
0answers
483 views

How to use XAMPP on Ubuntu?

I installed Ubuntu 12.04 today and I would like to use XAMPP on this OS. I downloaded the installation file, extracted that in Opt directory and tried to start it from the terminal. It started fine ...
0
votes
2answers
1k views

Is there a terminal that features sliding like guake and screen spliting like terminator on Linux?

Sliding means I got the terminal always in background and I can call it with a shortcut, and it will slide down from the top of the screen like in Quake (which why the most known terminal implementing ...
8
votes
3answers
19k views

Can files deleted with rm -rf be recovered?

When I delete folders or files in through osx terminal using the rm -rf, where do they go? I heard that some say they are deleted directly, but some also say it only "remove the link to the file ...
4
votes
2answers
1k views

tmux / vim split panes

I am borrowing this screenshot from another question: The terminal background seems to leak through into vim left of the dividing border. This is most noticeable near Top. Can anyone tell me ...
14
votes
5answers
5k views

How to mass prepend text to file names?

Lets say I have a directory full of .md files all named various things. Lets say I wanted to prepend "text" to the front of each file name. So for example: file a.md, b.md, and c.md would become test ...
1
vote
1answer
910 views

How to get user information Mac?

How would I get user information from a Mac such as user domain, etc. through a Terminal command? I've tried dscl as well as dscacheutil, but they don't really have what I'm looking for. I was ...
0
votes
2answers
682 views

Get back to the default terminal in debian

I've accidentally press the key Ctrl + Alt + F1. It switches my default terminal to a virtual terminal, and I don't have the folder and user information in the command line anymore. How do I get back ...
1
vote
1answer
2k views

Ubuntu purple terminal colors to iTerm2

I've been looking for a iTerm2 theme that resembles the default purple Ubuntu terminal but have had no success so far. Does a theme for the standard Ubuntu terminal exist for iTerm2 or will I have to ...
0
votes
1answer
622 views

Recover files that were rm [duplicate]

Possible Duplicate: Can files deleted with rm -rf be recovered? How to recover files that are rm -rf? Because, I know they aren't deleted at that point. I am using OSX 10.7, is there an app ...
0
votes
0answers
245 views

Xubuntu 12.04: Slow Login

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
0
votes
0answers
18 views

Ubuntu 12.04 - Terminal - Huge/Large text on each command line [duplicate]

Possible Duplicate: Is it possible to change my terminal window prompt text? I have been using "Ubuntu 12.04" for few days now (no previous Linux experiences at all) and I have noticed that ...
0
votes
1answer
175 views

Unable to see some Russian id3 tags in ncmpc

I'm running urxvt with the current env: $ env | grep LC LC_ALL=en_US.UTF-8 The problem is either with ncurses or ncmpc and I was wondering if anyone could shed some light on what the problem might ...
0
votes
2answers
762 views

New line when editing text files in ubuntu terminal?

I know that to symbolize a new line, I would do echo -e "line 1 \nline 2" > text.txt. I find that using \n repeatedly can be annoying, and I would to know if there a way to actually go down a line in ...
0
votes
4answers
666 views

iMacros-like program for terminal?

Is there such a program for Terminal like the iMacros plugin for Firefox, that can record what I did, then automatic do the work I have done? I hope that there is such a program to help me do the ...
2
votes
1answer
513 views

How to change the size of Linux terminal

I'm using Fedora on a laptop with external display via VGA. (the internal one is disabled, but will open when it is booting up) Internal 1024*400, External 1920*1080. The resolution is normal under ...
0
votes
0answers
6k views

Files on my Mac have disappeared and are not in the Trash

I had few folders where the contents are missing (Desktop, Documents, Download, Files and a few folders from Library/Application Support). I also realized that those folders are the first few in my ...
2
votes
1answer
1k views

Tab Auto-Completion in Mac OS X when using sftp in terminal

i have been getting very frustrated lately since the readline functionality has been removed from MacOSX and Tab Auto-Completion doesn't work anymore. So i was wondering if anyone knew a good ...