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
15 views

How to keep the terminal open after executing a C program?

I'm trying to run a C program from within a python code. cmd = 'gnome-terminal --command=./myprog' subprocess.Popen(command, stdout=subprocess.PIPE, shell=True) The code executes and the terminal ...
1
vote
1answer
15 views

Print line for word found in file in directory

Hello i am using this line find ./ -iname *txt | xargs grep "ququ" -sl>holis.txt To find "ququ" text in a txt file and then write the file name that does contain such word in the txt file, ...
2
votes
2answers
171 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
7
votes
3answers
10k views

Enabling SSH Daemon from Terminal (OS X Lion)

I am trying to find a way of turning on SSH through terminal, instead of opening settings and turn it on that way. Or perhaps a way to turn SSH on by running a .pkg file? I am running OS X Lion, but ...
0
votes
2answers
13 views

Mac OS .bash_profile errors

I'm running Mavericks 10.9.5 and I have tried to install Metasploit from this guide. It was until the Install Homebew I used echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile ...
2
votes
2answers
371 views

gnome-terminal - color palette

I'm trying to assign color palette on my gnome-terminal but it doesn't change at all... any clue? Screenshot > http://i.imgur.com/MXXhoOo.jpg Aditional info: Fedora 18 64bits (shiny new) GNOME ...
0
votes
2answers
13 views

How to search using find command in external hard disk

I have an external hard disk. I have to search for a folder called Visa in that external Hard disk named ASTUTE. There might be multiple VISA folder but I want to search for all of them. I navigated ...
0
votes
0answers
23 views

Copying an SSH ID to a server from a certain computer yields an error while the same command works fine from other computers

I get the following error message when trying to copy an SSH key to a remote server: ssh-copy-id -p*** ****@****.com Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: ...
2
votes
1answer
11 views

How do I encode a hyphen in a Bash terminal's open command?

I'm trying to write a small script that launches Beyond Compare when I do an svn diff. I got it working up until so far: open -a /Applications/Beyond\ Compare.app "$6" "$7" To get the full ...
4
votes
1answer
6k views

Configuring fonts for xterm, urxvt, emacs and others

I've recently started using xmonad as my window manager. I also decided to use urxvt as the default terminal, since it is supposed to be lightweight. Most applications that give a font configuration ...
2
votes
2answers
4k views

How to copy all files recursively excluding folders into one destination folder?

I have several folders like /music/1/a.mp3 and /music/2/b.mp3 All of the file names themselves are guaranteed to be different. Is there a way, probably using the Terminal, to copy these files to ...
0
votes
1answer
35 views

wrong MC colors when launched via xterm -e mc

I use ini-customized color theme in Midnight Commander 4.8. [Colors] base_color=linux:normal=cyan,rgb002:input=white,cyan:inputunchanged=black,cyan:dhotnormal=red When I launch xterm and then ...
6
votes
4answers
1k views

How to check if cygwin mintty/bash is run as administrator?

Problem Statement: What is the most elegant and robust way to test if Cygwin mintty bash session is "Run as adminstrator"? Why, specifically? I have typically several mintty terminals open when using ...
0
votes
2answers
38 views

What is the command to remove all files and folders, on mac os x terminal?

On Mac OS X terminal, how can we remove all files and folders, including hidden ones, recursively, except one directory? Thank you.
2
votes
4answers
85 views

What is a backslash colon doing in this chown command?

What is the \: doing in the command below? sudo chown nobody\: folder/ Is it some kind of mistake?
0
votes
2answers
23 views

Redirect stderr to second terminal / tty

I've tried things like rse to differentiate standard-output and standard-error streams from a program; but I'd really like the option of viewing the two in separate terminals, without redirecting to a ...
1
vote
1answer
18 views

Disabling mouse hiding in Gnome Terminal while typing

Does anyone know how to turn off the hateful behavior that is now default in Gnome Terminal - when a key is pressed the mouse pointer hides until it is moved again. I'm honestly ready to swith Linux ...
2
votes
2answers
376 views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
1
vote
2answers
138 views

Fastest rendering fonts in gnome-terminal

So I was reading an article on usesthis.com and he states "...I use the Terminus font because it is a bitmap font that renders fast and cleanly." Is this true? Which font renders the fastest in ...
0
votes
1answer
45 views

Scrolling with shift-control-pageup in gnome-terminal

Is it possible to configure tmux (inside gnome-terminal) so that the key combinations Shift-Ctrl-Page Up and Shift-Ctrl-Page Down can be used to scroll up and down in the terminal's history?
0
votes
2answers
59 views

Gnome 3: how to get a terminal with transparent background?

I would like to make the background of Gnome Terminal transparent. I know this feature has been removed from Gnome but I find it very helpful. I am wondering what's the best way to achieve this. I'm ...
0
votes
1answer
23 views

After creating .bash_profile…Terminal not working

I created a new .bash_profile file and entered the following: export PATH="usr/local/bin:usr/local/sbin:usr/local/mysql/bin:$PATH" I then deleted .profile. Because from what I learn't it causes ...
1
vote
1answer
161 views

.tmux.conf: How can I conditionally set a color variable?

Sometimes I use a light-colored terminal, sometimes a dark one. I export a THEME environment variable to conditionally set colors in my .bash_profile and .vimrc. I'm trying to do the same in my ...
0
votes
1answer
25 views

xterm valid command not working in konsole nor gnome terminal

this works fine with xterm xterm -e '(dialog --msgbox "thebigmessage" 0 0)' but not with konsole nor gnome-terminal konsole -e '(dialog --msgbox "thebigmessage" 0 0)' gnome-terminal -e ...
4
votes
5answers
4k views

Always use :set paste, Is it a good idea?

In a terminal vim, pasting clipboard data often messes up the code indent. I just knew if I uses :set paste the indent is not broken. Though, after pasting data, should I do :set nopaste again? What ...
3
votes
4answers
502 views

Launching programs with GUI without display manager

I've heard that there is a way launching programs with graphical interface without display manager - straight from terminal. Is this for real and if so, how can I do that?
2
votes
3answers
347 views

Is there any option to use Amazon Cloud Drive from terminal (Linux)?

As you probably know, Amazon did not release any Cloud Drive client for Linux. Is there any other option to access ACD from terminal?
0
votes
3answers
36 views

Create a new Mac Terminal command to copy folder

How can I create a new terminal command that copies a folder (this will always be the same folder) and it's contents to either the current directory (if no path is supplied) or to the path supplied. ...
1
vote
0answers
130 views

How to make ^T work for the status char under Linux?

I’ve grown really accustomed to the BSD status char, ^T, since I first started using it back at university during the 80s. It didn’t originate with BSD, but came from even older operating systems. It ...
1
vote
1answer
2k views

How to permanently append a directory to PYTHON PATH on Mac

I tried the two common methods: import sys sys.path.append('foo/bar') AND export PYTHONPATH=$PYTHONPATH:foo/bar The first one terminates the appendage once interpreter is exited. The second ...
0
votes
1answer
2k views

Mac Shows Java 6 in Terminal After Installing Java 7

I am trying to run a server that requires Java 7 using terminal. After installing Java 7, typing java -version in terminal still shows Java 6. Previously, I would use the Java Preferences ...
0
votes
0answers
6 views

Replace terminal's vi with windowed vim for root

I'm on Mac OS X, but I guess this is the same for other unixes. Every time I type vi on the terminal, I want to open the GUI version of Vim (in Mac OS it's called mvim). For my user, I got it ...
2
votes
2answers
480 views

How can I change my gnome-terminal title?

Previously I changed my gnome-terminal title to display which server I was logged into. I don't remember how I did this and I can't change it now. I ran through my .bashrc and found nothing that ...
2
votes
1answer
11 views

How to start a desktop session without x and also runs a script?

I have a Ubuntu server with LXDE for development, now how would I create a .desktop file to start a session that doesn't startx but actually logs me into a regular tty1 session and also runs a ...
1
vote
3answers
3k views

Change terminal to open on Bash, not Login

Please help, absolute Mac newb! When i open terminal it comes up with 'Terminal-Login-80x24' at the top and it is requesting a login from me- no idea what this login should be? This is new though, ...
-2
votes
1answer
20 views

Commands on the Windows terminal doesn't work

I have a problem with my terminal on windows 7, it doesn't work with the commands ls or make and I don't know where my problem come from.
3
votes
3answers
2k views

How to scroll the terminal emulator window in smaller steps using the keyboard?

How could I scroll up and down the bash shell window (without the mouse or scroll bars, just using the keyboard)? Shift+PageUp and Shift+PageDown acts like page up and page down. But how could one ...
0
votes
0answers
13 views

Mac Terminal theme - text-colors not working

I'm using the Mac Terminal more frequently and was using the Homebrew theme (green text, black background). Now I wanted to set a new theme which had different text colors. The one I tried using was ...
6
votes
3answers
535 views

Unable to launch application in tmux

I get this error when I try to launch Sublime Text or SourceTree from tmux: $ subl Unable to launch Sublime Text 2 $ stree Unable to open SourceTree It seems that I can't open os x apps either: $ ...
7
votes
3answers
5k views

Lightning bolt for prompt (PS1)

I've seen on a few screencasts a while back where someone had a lightning bolt instead of $ on the bash prompt. Does anyone know how to do this?
0
votes
1answer
19 views

How to stop PuTTY + Informix switching background and foreground color?

I connect with PuTTY (with "xterm") to a Debian system running Informix. In all Informix applications (self-written 4GL as well as isql and i4gl) PuTTY switches the background and foreground colors ...
0
votes
0answers
9 views

Mac - login hook

When opening terminal after reboot and running who command i get <myUserName> console as a single line but running it after a while returns additional additional lines like <myUserName> ...
0
votes
1answer
5k views

How to make PuTTY's font automatically change color (while connected to a Linux server) as I did with Windows cmd.exe using a background batch script?

I was able to create a Windows Command Prompt that automatically changes its text color on a white background every ~1.5 seconds, thanks to the help of @dbenham and @Woody. I also use PuTTY every day, ...
0
votes
2answers
2k views

Terminal fails with a “Could not create a new process and open a pseudo-tty.” message

Yesterday, I upgraded my Mac to Mac OS X 10.9 (Mavericks), and since then I couldn’t open the “Terminal,” each time I open a session, the following error is shown: [Could not create a new process ...
-1
votes
0answers
17 views

How to launch RubyMine upon Ubuntu startup?

I'm new to linux, and I was trying to find the right command to open RubyMine. After some research, I came across a path to a file that would start the program from the terminal. I use it below. I ...
0
votes
0answers
6 views

How to view PPA contents from terminal on Ubuntu/Mint?

Is there a way to view the packages contained in a PPA from a terminal, without needing to open a web browser and navigating to the PPA on Launchpad?
4
votes
4answers
2k views

Does any Linux X terminal update line-wrapping on resize? [closed]

The Mac OSX Terminal will re-wrap lines when the window is resized. Is this functionality available in any terminal emulator for Linux? I'd prefer to do this with terminals like gnome-terminal that ...
0
votes
1answer
31 views

How to select files with spaces in their name in a terminal?

When using gnome-terminal which is the default on Linux Mint, I can select files using a double click. For example: user@hostname $> ls 1.file.name 2-file-name 3 file name with spaces This ...
1
vote
2answers
3k views

Mac Terminal showing bash instead of my username

This makes it hard to know what directory I am in. I installed a version of python for school and now it says -bash-3.2$ instead of MyMacbook: ~$. I'm sure this is really simple, but I know nothing ...
0
votes
0answers
21 views

sed gives “illegal byte sequence” error when trying to replace a character

I am using the “Terminal” in Mac OS X 10.10 (Yosemite) and I am trying to delete all occurrences of a from a file, by using sed: sed 's/a//g' file Which gives me the following error: sed: RE ...