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

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

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
24 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
11 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
13 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 ...
0
votes
0answers
5 views

Name a tab in iterm2, even with pane splits

I see there are solutions to name tabs in iterm2 when there is a single pane, but it doesn't work well with multiple panes/splits. So if I have two terminals open in a split under a tab, I would need ...
0
votes
0answers
10 views

Script to open multiple gnome-terminal tabs, each running their own command?

I am currently developing a plugin for Minecraft. My setup consists of five terminal tabs, which I have to recreate every time I log in. I need to cd to the particular directory, then run the ...
0
votes
1answer
10 views

What's the relationship between multiplexer and terminal?

Recently, I learned there's this tmux tool. in wiki, it defines tmux is a terminal multiplexer and I kinda get the idea of what it is capable of. But I'm a little confused about the relationship ...
0
votes
1answer
22 views

Mac Terminal Display Column of the Cursor

How I can display the column position of either the cursor or the mouse pointer. Using the terminal on OSX 10.10 edited --- I wanted to know which character was the R in over for example. I ...
0
votes
2answers
33 views

Add a newline after each terminal command except at the beginning

I want to add a newline after every command I enter in the terminal. Right now, I have this line in my .bash_profile file: export PS1="\n\u$ " This works as expected: However the issue with ...
0
votes
2answers
66 views

^[[O and ^[[I appearing on iTerm2 when focus lost

I'm using iTerm2 2.1.1 on Yosemite. No tmux. When iTerm loses focus (when switched to another application by Cmd-Tab or clicking another window), a ^[[I and ^[[O seems to be sent to the terminal. ...
0
votes
0answers
23 views

Scrolling with trackpad/mouse in screen on OS X Terminal

I use screen command on Terminal on OS X. When I want to scroll up I change the mode to Copy Mode by pressing Ctrl A Esc. Then I use my trackpad to scroll up/down. It works. However, sometimes ...
0
votes
0answers
16 views

What is the alt+~ hotkey on the bash terminal?

I was switching between windows today (alt+`) and had my finger on shift as well it seems - this popped up in my terminal, avahi user mysql ...
1
vote
1answer
35 views

In the terminal what does “/path/to/file number” do? [on hold]

There are a series of commands used to launch some code I'm working with. They are an absolute path followed by the number 0. e.g. /foo/bar/goo 0 Currently its not working, its just gives the ...
1
vote
2answers
16 views

Create PATH for OS X Python virtualenv install

I'm a Terminal and Python newbie, but I'm using virtualenv a lot right now for a Python project. Changing directories manually to source the virtualenv in my filesystem is quite tedious, so I'm ...
0
votes
0answers
19 views

Find which graphic card in use

My laptop has two graphic cards, Nvidia and Intel. I want to know which gaphic card is X server using. I'm using Archlinux. What is the command line command for that ?
2
votes
1answer
34 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 ...
1
vote
1answer
12 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.
0
votes
2answers
21 views

Reference shortcut

I am new to OSX/linux. I have all my development stuff in the following location: ~/Dropbox/Dev/CompanyA Is there anyway I can create a link to that folder by just referencing ~/dev or something? I ...
0
votes
1answer
19 views

Add application (Sublime Text) to PATH in ZShell

My config: MacBook pro 2014 OSX Yosemite ZShell I'd like to be able to type: EdChigliak $: sublime "filename.txt" and have my file opened in Sublime Text. I suppose I need to add Sublime Text ...
0
votes
0answers
19 views

MS Office 2007 under Windows Server 2012

It's Primary Domain Controller with Terminal Services installed on. How is it possible to run MS Office in terminal session? Right now it shows me a message: This Copy of Microsoft Office Excel ...
0
votes
1answer
24 views

What is 'execute:' on the command line, and how to I avoid it?

So I am using iTerm 2 on mac OSX, running zsh in case any of this is relevant. I must have clicked something by accident, because this dialog appeared, and I can't seem to dismiss it: Everything ...
0
votes
0answers
24 views

how can I scroll in yosemite's terminal using the trackpad

Ever since I upgraded to OS X yosemite I have been experiencing this sporadic issue where I suddenly lose the ability to scroll up/down in terminal using my trackpad. Scrolling on the trackpad will ...
2
votes
2answers
48 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
votes
1answer
35 views

Set DHCP with manual IP

Any idea how can we set a DHCP with manual IP address from the terminal OSX (for a wifi interface)? I know that this set a manual IP but not sure how to keep the DHCP: sudo ipconfig set en1 INFORM ...
0
votes
0answers
5 views

Dry run test the final file size of a rar or 7z file via terminal?

Is there a way of seeing the final file size (so I can determine how much space saving) of a zip file, preferably a rar or 7z file. I'm on a mac so ideally I'd like to do it via the Terminal. I've ...
0
votes
0answers
22 views

How to load config file via git?

I suspect this is a silly question, but I haven't been able to find an answer online. I'm trying to load a config file in git, but the file is not in one of the default storage locations. So I tried ...
0
votes
0answers
29 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 ...
0
votes
1answer
32 views

Html2png conversion with custom size in Mac terminal

I need to batch convert html files into png without white fields around the picture. The html file has a background with two lines of text upon it. The background image is attached with css code in ...
0
votes
3answers
80 views

Does “DOS” have a shell?

I have been reading the posts I found about shell , terminal , bash but I get more and more confused about these terms. Does the operating system DOS have a shell, like the bash in linux? Is this ...
1
vote
2answers
31 views

Part of terminal line disappears when pressing down arrow

I use a custom PS1 to display more relevant information in my terminal, such as if I'm in a git directory and if it's clean or needs to commit changes. However, sometimes when I'm arrowing through ...
1
vote
0answers
23 views

Run bash command from link in browser

Is there a way to run an arbitrary command on OSX by clicking a link in the browser? As you know, there are certain types of hyperlinks that launch certain applications with a specified action, for ...
1
vote
0answers
18 views

programmatic access to current xterm colors

In the thread below programmatic access to current xterm background color Alex North-Keys provides a useful bash script that returns the background color of the current xterm. I'd like to use the ...
7
votes
3answers
139 views

How to have a better view when typing out directories in terminal?

I am currently using a Mac and learning to use the terminal, but the question applies to Linux systems as well. I would like to ask, when typing out paths in the terminal/command line, is there a way ...
9
votes
2answers
327 views

Take stdin from file but still have it show up in terminal

I have a program which requires me to input data as the program runs. Imagine it something like so: $ ./program Hi there. What's your name? Zambezi What is your quest? To make a program which runs ...
0
votes
0answers
17 views

fixme:heap:HeapSetInformation in wine

I am trying to launch setup to install an app with wine. Launching it without the terminal does nothing, however launching it in the terminal with the command wine foosetup.exe it gives the error ...
1
vote
2answers
42 views

Open “About This Mac” from Terminal?

This probably seems totally useless to most, but i've got a specific need to open the "About This Mac" dialog from within Terminal. Any idea if its possible? I suppose AppleScript might be the way to ...
0
votes
3answers
223 views

How to install programs via cmd prompt

I currently installed a dual boot Ubuntu and windows 8 and as a new guy to Linux I love all the features it has over windows, like for instances the terminal, which allows me to install programs in ...
0
votes
0answers
11 views

How to recover Files or get list of deleted files [duplicate]

I'm new to mac. Recently I deleted some of files using terminal. I run the command rm -rf sometext* on desktop but all files are deleted accidentally. Is there any command using which i can recover ...
2
votes
0answers
53 views

udev rule script “xinput --list” differs in terminal versus log

I'm trying to automate a Huion tablet calibration without much success. I have this output from xinput --list in a normal terminal: ⎡ Virtual core pointer id=2 [master ...
1
vote
2answers
28 views

how to log information when a file is executed

I want to log information when a file is executed and hopefully tail that information. What is the best way to log for example a timestamp and ip address when a file is being executed via ssh terminal ...
0
votes
0answers
14 views

Sometimes my terminal screws up newlines after killing a process

When I fire up a new terminal, this is usually what it can look like: $ echo "test"; echo "blaat" test blaat But sometimes after having run a process in the terminal that I killed with SIGKILL, my ...
1
vote
0answers
14 views

How do I close a window from an application but not quit the application

I'm trying to have a shell script run and then close itself but not quit Terminal all together. Here's what I have: #!/bin/sh while [ "$JOB_NUMBER" = '' ]; do echo -n "++++++++++++++++++++Job ...
1
vote
0answers
4 views

Including a fallback in default shell

I have an account on a network, and my shell is set to zsh, but when I log onto a computer that doesn't have zsh installed on it, a terminal I launch tries to run zsh and fails, so I get an empty ...
1
vote
1answer
42 views

OSX 10.10 locked out of administrator account, not in the sudoers file anymore

It appears my administrator account turned into a regular account overnight. Or, I did something stupid, which is more reasonable but I can for the life of me not figure out what it is that caused ...
0
votes
2answers
31 views

Return a list of files/filenames in order to find where a pattern of filenames breaks

I have a folder containing hundreds of files with filenames such as month-day-time.txt They follow a pattern of 1 file for every 10th minute of the hour, as in the example (here the minutes ...
0
votes
0answers
10 views

Google Cloud Instance web ssh Terminal Scrolling

For google cloud instance VM, the ssh terminal always doesn't automatically scroll to the very end. This becomes really annoying when the systems print out long info to terminal or you type so many ...
0
votes
0answers
39 views

How do I undo this terminal command?

The following was supposed to stop my f8 key from automatically opening my itunes on my Mac. "#!/usr/bin/env python import sys, os, subprocess launch = True blocker = "" apps = ["Spotify", ...
0
votes
0answers
25 views

Special characters are not displayed in terminal and vim

I'm using redhat release 5.6 (Tikanga). Recently I installed a patched font that support some special characters. I'll describe what I did. Installed the font in the ~/.fonts directory Run fc-cache ...
1
vote
0answers
6 views

Color Scheme with Vim on Android? [migrated]

I am trying to get a "solarized dark" colorscheme to work with Vim on android. Vim itself runs, and the plugin itself runs, but the colorscheme comes out wrong. I am using jackpal.androidterm app ...