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

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 ...
1
vote
0answers
7 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 ...
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
3 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
479 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
10 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, ...
-3
votes
1answer
18 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
8 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
521 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
16 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
8 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> ...
2
votes
1answer
227 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
1answer
7 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
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 ...
0
votes
1answer
10 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
votes
0answers
14 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 ...
2
votes
3answers
77 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
0answers
5 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
29 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
19 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 ...
0
votes
1answer
15 views

sed adds characters where it shouldn't add

I have the following line (in a file called 1atp.pdb: MASTER 421 1 5 16 9 0 12 6 3070 2 66 29 And I'm using sed: grep MASTER 1atp.pdb | sed 's/[0-9]*/xddddd/' ...
0
votes
1answer
20 views

CPU Load + Frequency per core in linux terminal?

I am doing scientific computing and I need to keep an eye on the cpu frequency and load of each core (there are 2 cores, on Ubuntu 14.04 w/ Gnome3). I can see the frequency with this bash script: ...
0
votes
0answers
18 views

Terminal suddenly disappeared from my MacOS Yosemite

I just had to reboot for the first time in weeks... after the reboot, I noticed that two elements were missing from my dock: Unity3D and my Terminal (more precisely, they had been replaced with ...
0
votes
1answer
50 views

run multiple commands from a file after logging into putty from a bat file

I have written a bat file in which I have the following: putty.exe -t -load "ABC" -l username -pw password -m "C:\Users\pathasai\Desktop\abc.txt" In my abc.txt I have written some commands which I ...
0
votes
1answer
18 views

Keeping en0 down while I change IP address mac

I have a DHCP server which assigns myself a new IP address. What I'm wanting to do is power down the wireless adaptor, then change the ip address manually. What's happening is as soon as I set the new ...
1
vote
2answers
27k views

How to get xterm on RHEL6 and CentOS6 stock installs?

I have a library of virtual machines on which I am running product testing, and I am encountering an issue with xterm not being found. Originally I thought xterm was a basic terminal installed across ...
2
votes
1answer
31 views

Windows server virtual machine in a linux server ONLY with terminal. Is it possible?

I have a linux server that I use for various services since a very long time. I would like to run some new software on it but it's a windows software that is a server of some kind. Unfortunately ...
0
votes
1answer
47 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
0answers
21 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
1
vote
1answer
23 views

Clear console buffer in ConEmu with Cygwin

I've recently switched from using iterm in OSX to using Cygwin in ConEmu on Windows. One thing I'm really missing is the ability to completely clear the terminal buffer at any time using Alt+k. I've ...
4
votes
5answers
2k views

How can I partially clear my terminal scrollback?

I want to partially clear my terminal scrollback history, but only from where I have selected with my mouse in the scrollback and up. Is this possible? I'm on a Mac, and I use iTerm2 and Terminal.
0
votes
0answers
4 views

Send all incoming and outcoming signals through a SOCKS4 Proxy on terminal?

So, I am running a node.js app through terminal (namely bp-tf auto but that isn't relevant) on my laptop. While travelling, I end up going through places where proxies block backpack.tf and ...
0
votes
0answers
10 views

Printing unique lines with uniq, OS X Yosemite

I am trying to print the unique entries in a column of a .csv file. For this, I tried the following: awk -F "," '{print $6}' dataCoarse.csv | uniq -u which just prints the 6th column as it is. ...
0
votes
1answer
22 views

How to get around 'rmdir invalid option -r' error?

I'm trying to remove a directory labeled 'phoneBackup' but it's not empty, it contains several dozen image files (.jpg, .gif, etc). I'm running the command "rmdir -r phoneBackup" from the parent ...
1
vote
0answers
26 views

gpg --gen-key not working on “su -l”, but working on local terminal

When I try to use "gpg --gen-key" (v2.1.2 on archlinux) with an user I just created ("backtest"), it works when I open a terminal for that, but not when I'm logged in with another user and then "su -l ...
1
vote
1answer
20 views

Why is bash adding spaces and stretching out filenames in Arch Linux?

My Arch Linux laptop is creating some strange output when using bash. It puts spaces between characters and stretches out files names. I’ve tried to remove/reinstall bash-completion but nothing ...
2
votes
0answers
16 views

Can one start shell from save file dialog

Using ubuntu. If one tries to print to a file, the save dialog opens. Is there a way one can execute the shell (or terminal) from the save file dialog file name entry box?
0
votes
2answers
635 views

Guake transparency not working

I would like to recover transparency on Guake on my workstation (CentOs 6.4, linux 2.6.32-358.23.2.el6.x86_64) I use it for a long time on Suse or Ubuntu, I already know how to adjust transparency. ...
6
votes
3answers
5k views

How do I set my shell in Mac OS X?

I know I can set "Shells open with" in the Terminal preferences, but I'm curious if there's any system-wide way of setting this (similar to updating /etc/passwd in some Unixes).
2
votes
1answer
4k views

How to zip multiple files into separate archives?

I admit this question was asked here before: Like Zip into separate files where the person who asked didn't specify the OS he used and received no answers. I need to separate a huge directory ...
0
votes
1answer
19 views

How to change the color of the default title in iTerm2

Every time I execute a command, it's difficult for me to find where is the start point of the results comes from my last command. So I want to make the default line "Arthur-Mac-mini..." change color, ...
0
votes
1answer
20 views

Command for removing monitor/promisc from an adapter on OSX Yosemite

How do I accomplish this? I see posts on how to turn it on with the Apple802.11.framework but nothing on turning it off. I ran wash and now I'm currently stuck on monitor mode. Please help! sudo ...
0
votes
3answers
41 views

Recursively move files to relative subfolder

I've looked around for topics about this but I fail to achieve want I need. Any solution, either in Ubuntu or in Windows cmd would be greatly appreciated. The current structure is /folderA/*.txt ...
1
vote
2answers
49 views

Midnigh Commander rendering fail in CygWin, Windows 8 and ConEmu (or Console)

I am trying to use alternate terminal emulator for CygWin in Windows 8.1 x64. I am trying to use [ConEmu] and [Console], but both of them fails in rendering of mc program. Is it fixable?