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

When a task terminates in ConEmu console, how do I rerun it in the same console?

So I have this Task in ConEmu which creates several split consoles. In some of them I run a mongo database. Sometimes I terminate the database and leave the console open. Normally in a command line ...
0
votes
0answers
9 views

set fileformat=unix permanantly

When I built WSO2 product pack from terminal using maven clean install and going to run from terminal by issuing below command at product home directory ./bin/wso2server.sh I got below error ...
0
votes
1answer
35 views
+100

Running script according to Terminal Context

Is is possible to get the current context, or front-most user-facing process, to trigger a script when it changes? For instance, the user starts with the command prompt, then goes into Emacs ...
44
votes
6answers
20k views

With Bash + iTerm2, how to name tabs?

In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql ...
2
votes
5answers
68 views

Any way to avoid dot-slash when running executable scripts in bash?

let's say I have a script. chmod +x myscript Now to run this I go ./myscript But is there any way I could just run it by typing myscript ???
0
votes
2answers
35 views

How to store formed command line without running it in bash or terminal?

For example, I have formed a long complicated command that will improve the world and lower an entropy in the Universe. But then (huh!) I see that I forgot to make a dir required. I want to store my ...
2
votes
2answers
383 views

SSH from OSX with password 1 line

I can ssh from my pc using putty, 1 line like so ssh root@myname.mydomain.us -pw abc123 but when I try this from OSX terminal, I get an error Bad port 'w' How can make this work on OSX?
0
votes
1answer
25 views

bash error when starting shell from tmux

When I open a new shell in tmux I get an error message. This error message does not show up when I start a new shell in GNOME terminal. What might tmux be running at startup that I need to check? ...
1
vote
1answer
2k views

Terminal on Mac - Delete key behavior

I'd like the delete key (well, the Fn+Backspace combination) on my Mac to behave the same way in the Terminal as it does normally. That is, to do forward-delete. Right now it outputs tilde - at least ...
0
votes
1answer
21 views

Linux terminal emulator with frequent, recent, and bookmarked commands/directories

I am looking for a terminal emulator where I don't have to tap the up key a million times to see the old and frequent commands. I want to be able to bookmark common commands and directories, as well ...
0
votes
1answer
55 views

I'm installing octave for Yosemite. I'm having trouble in a specific step in the process. Any ideas?

I'm following the procedure given on this site: http://adampash.com/how-to-install-octave/ I've been stuck in this step for quite a while: Last, you need to edit your .octaverc file to get ...
2
votes
2answers
57 views

How to fix files and directories in Mac terminal from being inverted?

I recently was going through some directories and realized that my files/directories are inverted as opposed to being alphabetic from top to bottom. As the terminal is after an ls -al: Public ...
0
votes
1answer
12 views

Is it possible to capture and export a running process over ssh with x?

I've seen plenty of questions on the web about exporting a display from a remote host to a local. I can get this to work fine, but that's only for commands run after logging into that terminal. Is ...
19
votes
3answers
14k views

Access iCloud Drive via terminal

OS X 10.10 was just released, and one of the features I personally awaited the most was iCloud Drive. Unfortunately, I had to learn that it was not as accessible as Dropbox. file ~/Dropbox ...
2
votes
2answers
409 views

Invoking an MMC Snap-in function from Windows command shell: is it possible?

I need to execute a MMC Snap-in function from the Command Shell of a Windows computer. I need it to schedule this command in the same Windows PC and executes in background. Probably this questions ...
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
1answer
33 views

Consequences of 'escape-time 0' tmux setting?

I find that when running (neo)vim inside tmux, the escape-key is delayed. This is fixed by putting set -sg escape-time 0 in my .tmux.conf. Presumably, this disables the possibility of using ESC as ...
1
vote
1answer
3k 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
22 views

Why does my vim colorscheme stay after I close vim?

I recently used vundle to install the solarized theme for vim on my Arch Linux machine. Whenever I open vim, the theme is applied, but it stays applied to my terminal window after I close it. I can ...
0
votes
1answer
58 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, ...
2
votes
4answers
69 views

How To Format A Disk Image To Be Recognized By MS-DOS?

I'm trying to emulate windows with bochs on my android device. I've got the following drives: an empty disk image to install windows on, a virtual vvfat drive with the setup files, and a cdrom drive ...
3
votes
4answers
7k views

combining commands on the terminal on Mac OS X

I would like to write the following on one line in the terminal or if there is a shorter way to create a file and set the permissions then please do comment. sudo touch .htaccess sudo chmod 766 ...
0
votes
1answer
11 views

How do I disable bold text in Roxterm terminal emulator?

Moved from SO to SU: I've combed the internet and read the roxterm man page to no avail. Can someone shed some light on this: I'm trying to disable bold text in roxterm. I personally think the bold ...
1
vote
3answers
4k views

Color in Cygwin terminal

I've installed cygwin because I'm a bit fed up with the Windows terminal not being great. The only problem I'm having is the lack of colours. You can see the problem in the following 2 screenshots ...
0
votes
1answer
31 views

How To Mount A Disk Image On Android With Terminal?

I'm trying to mount a disk image that I've made on my android with terminal and busybox. This is how I made the image: dd if=/dev/zero of=/sdcard/disk.img bs=4k count=131072 mkfs.vfat -v ...
0
votes
1answer
24 views

Cannot exit normally when ssh'ing using bash script

I have a script that ssh into a server and sets up an environment ssh -t -t dev.example.com <<EOF cd var/dev/ ...other commands... EOF But when I type exit in the terminal after the script ...
0
votes
1answer
44 views

How To Make A Sparse File On Android With Terminal

I'm trying to make a sparse file on android. For this I'm using Android Terminal Emulator. I have installed Busybox so I can use the dd command. Other commands like truncate aren't installed. My ...
1
vote
2answers
4k 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
2answers
3k 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
vote
4answers
106 views

How to reset the terminal under Cygwin?

Under Linux, I can clear terminal output with a simple reset from the command line. Under Cygwin, it appears reset does not work: I also tried reset 0 and reset 1 with no joy. And I even tried the ...
0
votes
0answers
16 views

Can tmux display pretty pane corners?

I'm in the process of picking up tmux, and I'm sure I'll get used to it, but this pointy edge is bothersome. Is there a way to make the corner flush, like this (fixed with gimp)? I know that the ...
10
votes
3answers
15k views

How to open a terminal quickly from a file explorer at a folder in Windows 7?

This can be done easily in Ubuntu, just right click and open Terminal. It is very inconvenient to open cmd.exe then cd to the folder. So, how do I open a terminal quickly from a file explorer at a ...
10
votes
4answers
3k views

iTerm2 Vim alt+right/left arrow

As a Linux user, I am very used to jump from word to word in vim/nano using ALT+left or right. This doesn't seem to work properly using iTerm, I am using zsh, I tried adding; bindkey -e bindkey ...
0
votes
2answers
41 views

How to use find command in OS X terminal to search for folders?

Im trying to search for folders in the OS X terminal. Is there any way to filter the find results for folders?
43
votes
6answers
12k views

Is there a shortcut to mkdir foo and immediately cd into it?

This is something I do frequently $ mkdir foo $ cd foo This works as a single command, but it's more keystrokes and saves no time. $ mkdir foo && cd foo Is there a shortcut for this? ...
0
votes
0answers
21 views

ifconfig shows no active connection (Mac os X)

I'm running os x 10.9.1. In terminal, just ran the ifconfig command, and despite having an active internet connection via USB dongle, none of the interfaces read any inet or inet6 address (except ...
2
votes
2answers
64 views

Can I adjust command line output to make columns vertically align?

The first image is Mac terminal output, these columns are vertically aligned. This is Windows cmder output, in a mess. Can I adjust it?
1
vote
1answer
26 views

I can't replace line breaks in vim and iterm

In Vim in iTerm, I frequently encounter issues surrounding line breaks. For example, if I have a file containing the dreaded ^M most online tutorials will say that to perform a replacement I use a ...
0
votes
1answer
13 views

using posh-git with conemu

I tried doing what the fellow at this site managed: https://github.com/rajmenon/KB/wiki/Setup-a-ConEmu-task-for-posh-git-bundled-with-Github-for-windows doing the same as he using the keybind in ...
0
votes
1answer
14 views

chmod 777 based on directory

I am wanting to perhaps create a cronjob that will monitor a directory and will do automatically chmod 777 and files that are created inside the directory or a subdirectory of my main directory. Is ...
0
votes
1answer
35 views

Rotate all video in a folder with ffmpeg?

I have a lot of videos which are recorder 90 • rotated so I want to rotate all videos 90 degrees clockwise direction. If this possible? I used for loop but there is some mistake because of spaces ...
1
vote
1answer
20 views

Cygwin - how do I search scrollback?

Going to be pretty depressed if this is not a feature by now. To be clear, by scrollback, I mean scrolling up and down on the terminal emulator to see history.
1
vote
1answer
73 views

Mac OS X Terminal, shows special characters like slash, space etc as strange character codes after using localedef

I have recently used localedef command to add support for the multiple locales. After doing that I noticed on my terminal for every space, backslash, forward slash etc… it is instead showing UTF code ...
0
votes
0answers
6 views

How Not to Have A Tab in New Windows

After I pressed a shortcut combination which I can't remember, every new terminal window that I open (cmd + n) started to have a tab open by default, like this: I don't want it to be in a tab since ...
0
votes
2answers
25 views

'screen.linux': unknown terminal type

When I run clear I get: 'screen.linux': unknown terminal type I get this error message when, on a Debian 7 machine running the OpenVZ kernel, from within a screen session, I vzctl enter into a ...
5
votes
2answers
744 views

Tmux doesn't respond to scroll in OS X Yosemite Terminal

Recently, I updated to OS X Yosemite and was delighted to find out Apple has added mouse support to their Terminal app. This works great in a standard Terminal window scrolling through my history and ...
2
votes
1answer
26 views

Dotfile version control: terminal settings

I use one MacBook at home and another at work. Recently I started version controlling my dotfiles. It works like a dream for my vim/MacVim settings, but is decidedly less useful for my .bashrc and ...
0
votes
1answer
29 views

cygwin opens three windows instead of one

If I open a cygwin terminal window it opens three instead of one window. The titles are C:\cygwin\bin\mintty.exe Cygwin Terminal <my host and current directory> Only the third ...
1
vote
2answers
383 views

Determining needed repository for software

I am a beginning linux user (centOS currently). I tried to install the terminator terminal application. I understood that it is not in the default repositories of cent-os but it should be in the ...
0
votes
1answer
24 views

Generic way to get the path to the terminal binary on different Linux systems?

I've got the following hardcoded list of terminals in my application: "/usr/bin/konsole", // KDE "/usr/bin/gnome-terminal", // Gnome "/usr/bin/pantheon-terminal" // Pantheon (Elementary OS) I then ...