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

Close a specific Chrome tab in Ubuntu/Linux using terminal command

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands: kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message ...
1
vote
0answers
147 views

Terminal without echo

In the terminal on Solaris 5.9 (ksh), I don't see the characters when typing. I can see the input only after the return key is pressed. I checked terminal settings with stty -a it shows: echo echoe ...
1
vote
0answers
85 views

How to use Terminal.app for an xterm session

I am on Mac OS X 10.8. When I open Terminal.app and connect to a remote machine with ssh -X user@remote.machine.net the XQuartz application launches. When I type xterm into Terminal.app, an X11 ...
1
vote
0answers
1k views

Centos 6.3 doesn't detect USB drives

Unable to locate its file. In the terminal fdisk -l didn't give the expected result. I tried mounting the device using 'mount /dev/sdb1 /media/usb' but it says mount requires the 'type of device'. ...
1
vote
0answers
449 views

Linux Mint Mate - Make the terminal icon on the Start Menu launch gnome-terminal rather than Mate terminal

I was having some issues with the Mate terminal in Linux Mint (see How to reset system colors) so have started using gnome-terminal instead. I'd like the change the "Terminal" icon which is on the ...
1
vote
0answers
256 views

Installed new version of php but server still uses older version

I just upgraded to PHP 5.4.11 from 5.3.15 following this link. After upgrading I ran php -v but it shows me following output. Zafars-MacBook-Pro:php-5.4.11 zafar$ php -v PHP 5.3.15 with Suhosin-Patch ...
1
vote
0answers
219 views

Grey Screen when launching Debian 6 through Chicken

I'm trying to connect my mac to my Debian 6 VPS, but I only get a gray screen, as shown in the screenshot below. I followed the steps on this tutorial recommended by the VPS company. I'm using ...
1
vote
0answers
70 views

I'm looking for a text-based web browser with support for user scripts

So far I've acknowledge lynx, links and elinks, but none supports userscripts. Is there any other that supports userscripts? What I want to do is apply a script that would format certain pages to be ...
1
vote
0answers
113 views

How to change keymap on native console?

When I'm switching to native console with Ctrl+Alt+Fn I have wrong keyboard maping. I want to set keymap proper to my language. In KDE, web browser, konsole etc. everything is OK. So, how to change ...
1
vote
0answers
29 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
1
vote
0answers
3k views

How to Connect internet through wifi from terminal in Ubuntu 12.04?

I had recently installed ubuntu sever 12.04 on my Lenovo laptop. As a first task i was tying to connect to wifi through it. Since there is no GUI the task is to be done through terminal. I was ...
1
vote
0answers
431 views

How to use XAMPP on Ubuntu?

I installed Ubuntu 12.04 today and I would like to use XAMPP on this OS. I downloaded the installation file, extracted that in Opt directory and tried to start it from the terminal. It started fine ...
1
vote
0answers
200 views

Ctrl-C does not work in tmux window

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board ...
1
vote
0answers
569 views

Encoding over SSH Issues

I have a Linux machine and a Windows machine, both using Vim with the Powerline plugin. They both work great with patched fonts. Next, I want to SSH onto an OSX 10.6 machine and also use the Powerline ...
1
vote
0answers
51 views

Is there a way to store certain shortcut variables in iTerm or Terminal.app so that we can access them from any remote machine ?

I use alias for setting up shortcuts so that i need not type out often lengthy directory paths and such. But i ssh into multiple machines often and i cannot alias a bunch of stuff into all the remote ...
1
vote
0answers
207 views

gnome-terminal new tab within exact same path

I'm using gnome-terminal and open multiple tabs for the same path. The behavior of gnome-terminal is to change to the real (canonical) path rather than the exact original path. E.g. a new tab opened ...
1
vote
0answers
55 views

Where shared folders are located on MAC OS X Lion?

On Snow Leopard there is a file named /var/db/samba/smb.shares where listed all shared folders. Does anyone know, where that file is located on MAC OS X Lion? Thanks
1
vote
0answers
103 views

Setup mutt to read through a threaded message and then return to the email index

I have begun using mutt (terminal email client) recently and I have it setup very nicely and easy to use. My only gripe is that sometimes it is difficult to tell when I transition from one thread to ...
1
vote
0answers
154 views

Running terminal commands from Chrome's Omnibar

I would like to use Google Chrome's Omnibar to execute terminal commands. Is there any way to do that? Edit: I found that I could add a custom search engine as "terminal://%s". However, there seems ...
1
vote
0answers
219 views

Creating a shortcut in launcher to run a terminal command with more than one parameter as argument

How do you create a shortcut in launcher that lets you run a terminal command using more than one variable? For example, how do you create a launcher shortcut that will prompt you for varA and varB ...
1
vote
0answers
345 views

Copy the output of the last command in Terminal.app

!! | pbcopy would also run the commands again and couldn't be used with interactive commands. This relies on the prompt always being $ : tell application "Terminal" to tell window 1 to history do ...
1
vote
0answers
313 views

How to display a framebuffer and some stdout text

So I have this program that writes to the framebuffer in Ubuntu. It works beautifully: I enter the system terminal using ⇧+CTRL+F1, then start the program, and it starts writing to the framebuffer and ...
1
vote
0answers
76 views

How do I set the meta key with the meta convert feature in most *nix terminals?

.Xdefaults: xterm*eightBitInput: false This command apparently allows you to use a meta key + something to enter vi editing mode in a linux terminal. But what is the meta key and how do you set the ...
1
vote
0answers
66 views

Financial and real-time market-data software for the command line

I can easily build HUDs at command prompts for stuff like the weather, my to-dos, Twitter, IRC, etcetera; but the one thing I’m always stuck going to my iPhone or browser for, constantly, is real-time ...
1
vote
0answers
43 views

Gem procress as Terminal title

I run Snow Leopard and I use the Terminal for Rails development. If you do web development, you would realize that regardless of the gems being run, your terminal name switches from bash to ruby. ...
1
vote
0answers
425 views

Command prompt hangs until keypress?

Problem: For some reason once in a while my command prompt would hang until I press a random key, and it would continue operation as if nothing happened. Occurrence: This happens when I am running ...
1
vote
0answers
160 views

Mac Terminal to assign keystrokes to mouse clicks?

Are there Mac Terminal commands to assign keystrokes to mouse clicks? The aim here is simple. I have a generic three-button mouse for which there's no customizing driver available, and I want it to ...
1
vote
0answers
319 views

Issues with RVM and new terminal instances

So I started having issues with my terminal sessions for some reason that I'm not fully aware of how to fix. This is the terminal output that I get when I start up any new session now. RVM doesn't ...
1
vote
0answers
3k views

remove dir with files not working

I'm trying to remove this directory pear from my tmp folder, but it's not letting me. I tried sudo rm -r pear But then it asks me to override, and I put y and it says Permission denied. Any ideas ...
1
vote
0answers
65 views

locating a screen session within multiple desktops

I've usually got a lot of stuff on the go, including 10 or more screen sessions. I also have a lot of desktops set up. Sometimes I want to find a particular screen session among the many desktops. ...
0
votes
0answers
4 views

Trying to change Default Terminal Home/Path, getting 'eDSAttributeNotFound' error

Found this nice tutorial here on how to change your default path in terminal via stackoverflow. Steps followed: become root with sudo su -. Now fire up dscl by typing dscl localhost. Inside dscl, ...
0
votes
0answers
10 views

Terminal Command Colors

I like to have a really beatiful console style. I use zsh and I have changed my theme to "agnoster" See it under: oh-my-zsh My problem is that I do not have OS X and iTerm2 but I want to have these ...
0
votes
0answers
26 views

Entered wrong .bash_profile and now my laptop is running hot

I am just learning how to use the command line and was editing the bash prompt setting in .bash_profile. I made an error in the prompt settings in .bash_profile and I lost the prompt and the ability ...
0
votes
0answers
8 views

suppressing spurious invisible tmux/terminal output

I'm using tmux to run multiple terminals sessions. The issue I am having is that my top-level terminal program has a feature where it will notify me if there is any activity in a non-visible tab. ...
0
votes
0answers
18 views

understanding HTTrack actions

i just started using HTTrack . and it offers 5 actions whenever i want to download a website for offline viewing. which are 1 Mirror Web Site(s) 2 Mirror Web Site(s) with Wizard 3 Just Get Files ...
0
votes
0answers
8 views

Terminal 2 way ftp sync

I am looking for a way to sync a directory/path on my computer with an ftp server so that all the files that are newer will be copied and will replace the old files. The files that have been created ...
0
votes
0answers
7 views

Terminal logs in Server (OS X Server)

I installed OS X Server, then uninstalled it. Now, Terminal logs me in as server:~ John$ Even though my computer's name in Sharing Preferences is called "John's MacBook Pro" It's no big deal, it ...
0
votes
0answers
21 views

Running Custom commands in a Terminal Application

I am running a terminal application in /dev/pts/X terminal that has its own console as sampleapp> what I need is to run commands specific to this application but from another terminal.
0
votes
0answers
31 views

-bash: java: command not found MacOS 10.7.5

I recently "uninstalled" Java 7 because it isn't compatible with Chrome, following the instructions on this site: https://www.java.com/en/download/help/mac_uninstall_java.xml. Then I re-enabled Java ...
0
votes
0answers
8 views

How open a terminal server using autoIT

Problem : How I can execute a terminal server from distance using autoIT in order to open some applications in this one ?
0
votes
0answers
11 views

OS X Terminal Tab Name Current Directory Causes Duplicate Name in Title Bar

In OS X (10.9.3) I'm setting PROMPT_COMMAND to set the terminal tab name to the current directory such as function set_tab_title { printf "\e]0;${PWD##*/}\a" } PROMPT_COMMAND="set_tab_title; ...
0
votes
0answers
36 views

OSX terminal command not found

I'm following a guide to setup airport in monitoring mode to do my networking exercise. I've made a shortcut to airport using this command: sudo ln -s ...
0
votes
0answers
19 views

How to permanently make the Output of python codes to appear in a different color in the terminal?

I found it really annoying when I use terminal that everything is in one color. I am looking for a way to print the output of my python code in a different color on the terminal console, so it will ...
0
votes
0answers
14 views

Use control-nonletter with Emacs in xterm

I mostly use Emacs in a window (I mean a normal GUI window, I guess this is what Emacs would calls a "frame" for which display-graphic-p returns t) but ocasionally use it in inside a terminal ...
0
votes
0answers
27 views

How to install Haskell platform on Kali Linux?

I'm new to Linux and I want to install Haskell platform on my Kali Linux system, but unfortunately I can't do it alone.So I really need your help. Also, if possible explain me how to do it step by ...
0
votes
0answers
22 views

How to set fractional font size in terminal?

I'm trying to set the font in gnome-terminal to 9.5, which is ideal for me. I have installed many programming fonts, viz. proggy, anonymous-pro, terminus, inconsolata, droid-monovar, consolas, gohu, ...
0
votes
0answers
19 views

Stop receiving email in terminal

I'm a new MacOS user and already have a tiny problem when sending email... I'm trying to send some emails using MAMP and PHP on localhost, but emails only appear in my terminal instead of my email ...
0
votes
0answers
23 views

Additional password for hosts file on mac

Is it possible to set up an additional password for changing the hosts file on mac? When i use the command: sudo nano /private/etc/hosts I have to use the admin password to enter the hosts file. ...
0
votes
0answers
12 views

sac2xy not executable on terminal osx 10.9

file sac2xy sac2xy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped ls -l sac2xy -rwxrwxrwx 1 ravi staff 50334 ...
0
votes
0answers
13 views

How to prevent MacVim from inherenting .profile as if it was Bash itself?

I have this guard in my .profile: if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi if [ -f "$HOME/.bash_aliases" ]; then . ...