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
0answers
9 views

Linux - How to stop a queued command

I have two terminals open: #1 dd command copying 128GB #2 Using Kill command to monitor dd process . I was repeating the monitoring command and accidentally repeated dd command in the second ...
0
votes
0answers
7 views

How do I use Terminal on Mac OSX 10.10.4 to extend the time SelfControl Program is set for?

I would like to extend self-control beyond 1 day on Mac OSX 10.10.4 I found this terminal command below by Charlie dated 2012: "You can easily make SelfControl block for any length of time you ...
0
votes
1answer
28 views

How do I fix vim colors in OS X Yosemite?

I've been trying to fix this for weeks, to no avail, and it's been really frustrating. Here is the issue: Fed up with the wrong colors and general plugin mess, I decided to wipe my .vim and ...
0
votes
2answers
26 views

bash - appending ' to end of command?

I stumbled across this by accident, and was wondering what it meant. What I did was I was typing adb logcat but accidentally typed adb logcat' and I was greeted to this: I Control-C'd out ...
0
votes
2answers
11 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 ...
2
votes
5answers
70 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
37 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
390 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
27 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? ...
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
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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
24 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
53 views

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 ...
0
votes
1answer
12 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 ...
0
votes
1answer
26 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
35 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 ...
2
votes
4answers
70 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 ...
0
votes
0answers
17 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 ...
0
votes
1answer
48 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 ...
0
votes
0answers
23 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 ...
0
votes
2answers
43 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?
0
votes
1answer
14 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 ...
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
15 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
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
1answer
37 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 ...
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 ...
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 ...
0
votes
1answer
31 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 ...
2
votes
1answer
27 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 ...
2
votes
0answers
21 views

Difference of meta-data between mdls and mediainfo

I was wondering what are the difference between the type of metadata returned by mdls and by mediainfo. Why are they different? For exemple why the creation date is different on the same file? ...
2
votes
0answers
25 views

Search terminal buffer in shell script

I have a shell script named merge that takes a parameter that is a revision number. I usually invoke it merge 12345. I would like to pass in zero parameters. The script should search my terminal ...
0
votes
1answer
60 views

Emulate a Linux terminal and shell commands in Windows [closed]

Ok, I am accustomed to Linux/Unix like terminal and its commands and now I am using Windows. Does anyone know how to emulate a Linux terminal and the bash Commands?
0
votes
1answer
16 views

Access samba3 share via terminal

i have a raspberry pi with samba3 on it (network access for my external HDD) And i have ubuntu14.04 on my laptop. For one on my scripts im working with i need to access the HDD via terminal. I ...
2
votes
0answers
60 views

SSH with two factor authentication

I am trying to use two factor authentication on my server so that when I ssh from my mac terminal it will ask a username and password as well as performing two factor authentication. I checked and ...
0
votes
1answer
43 views

Replace highlighting characters with something else

I wish to replace color codes with something else. For example, running cal command i want to get some html tags instead of color codes: July 2015 Su Mo Tu We Th Fr Sa 1 2 ...
0
votes
1answer
37 views

PuTTY working, Terminal SSH is not (with Private Key)

Setup a new server (on Rackspace), got it working in PuTTY/KiTTY. When I run from terminal (Cmder), it asks me to enter a passphrase (which PuTTY doesn't), I hit "enter" (there is no passphrase), ...
3
votes
3answers
403 views

Is there a way to stop terminal from saving commands?

Well, the thing I'm tired of clearing my terminal history again and again. So I was wondering if there's a way that the terminal doesn't record your history or the commands you've used. If not, is ...
0
votes
0answers
15 views

How can I change my fcitx input method from the terminal?

I am looking for a way to change the fcitx input method using a terminal command. I know I can use the hotkeys, but for the purposes of an application I am writing, I need to use a command (something ...
0
votes
0answers
9 views

tmux hangs when closing terminal

When I open 2 terminals with 2 different tmux sessions and close one (without exiting the session), the other one hangs. I am using tmux 2.0 (compiled from source) with zsh and testing with no conf ...
1
vote
4answers
113 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
8 views

Not able to receive signal from bluetooth module on PC, works on mobile [duplicate]

I am using an IR receiver with a baud rate 9600, which sends signal to a bluetooth module. I am able to see the data which is sent on a mobile device with a simple BT terminal application. However, ...
0
votes
0answers
27 views

Not able to receive signal from bluetooth module on PC, works on mobile

I am using an IR receiver with a baud rate 9600, which sends signal to a bluetooth module. I am able to see the data which is sent, on a mobile device with a simple BT terminal application. However, ...
0
votes
0answers
29 views

Color Log of Terminal Outputs

How do I log all outputs from a terminal to a file so that I keep color information and have the log in a portable, easily viewable format (e.g. HTML, PDF, Google Docs), i.e. not requiring a special ...
0
votes
1answer
43 views

CR versus LF: which should I recognize as “end of line” in terminal program? [closed]

I understand the use of line feed and/or carriage return as line separators in Windows, Macintosh and Linux. But now I'm writing a program that will accept text user input over a TCP socket, and I ...
1
vote
0answers
42 views

Internet Explorer 11 in a terminal (kiosk) with low resolution

We are currently using Porteus Kiosk (Linux) on our terminals. The terminal boots and starts with Firefox open on the default page (our client’s web address). Now we are considering switching to ...
0
votes
1answer
17 views

Key codes: xterm vs. Terminal.app

I mostly use iTerm, and it lets you customize the key codes sent to your terminal by individual keys. It has a couple presets labeled xterm Defaults and Terminal.app Compatibility. I'd like to make my ...
0
votes
0answers
27 views

Yosemite: Terminal command to toggle Dock maginification?

I have found a number of Terminal commands to control the behavior of the Dock, e.g. defaults write com.apple.Dock orientation -string left to show the Dock at the left edge of the screen or defaults ...