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
71 views
+50

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 ...
0
votes
1answer
17 views

Emulate a Linux terminal and shell commands in Windows [on hold]

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
9 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
25 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 ...
6
votes
4answers
27k views

Mac Terminal SSH file transfer?

Is there a way to transfer files directly from a Mac to another using only Terminal? Perhaps using SSH?
0
votes
1answer
33 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
30 views

How to know the file size information and download progress indication in iterm2 terminal?

Sometime when I download any file from terminal there is no indication of how small or big file and no progress bar to know the progress. Is there a way to get these features?
118
votes
4answers
76k views

Way to avoid ssh connection timeout & freezing of terminal tab

When I connect via ssh terminal to certain servers, it timeouts and "freezes" the terminal (doesn't accept, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's ...
0
votes
1answer
5k views

How to use remote microphone on Remote Desktop

I wish to connect to a remote Windows 7 PC that has a microphone, and use that local microphone (on the destination PC) in recording applications. Unfortunately whenever I connect on Remote Desktop, ...
10
votes
3answers
35k views

How do I find my user ID and group in Mac OS X?

Trying to run this compand in terminal: sudo chown -R yourid:yourgroup local However, I have no idea what my ID and my group are, or where to find them. Any ideas?
1
vote
3answers
75 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
1answer
25 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
380 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
2answers
3k views

What command lists the files created in a specific month and is readable for the owner?

I am supposed to find the command that lists all the files created in September and are readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I will ...
2
votes
5answers
3k views

sending one key stroke to two windows (Ubuntu)

I'm running Ubuntu Linux. I have two open Terminal windows running side by side. I'm looking to be able to hit the enter key once, and have that key stroke sent to both windows. (What I'm doing is ...
5
votes
6answers
44k views

How to access a network folder in Ubuntu using the terminal

I am new to Ubuntu(and Linux for that matter) and I am trying to access files using the terminal. The network folder is on my Desktop, but when I go to the Desktop folder via the terminal, the ...
54
votes
3answers
6k views

htop isn't returning CPU or memory usage!?

I think that top is great application to monitor a Linux system. I really like it, but top doesn't look so good on Mac. I know that Mac have a system monitor to do it, but I prefer using a terminal. ...
-4
votes
0answers
16 views

2009 IMac 27" 4-core i7 2.93 Ghz, OS X 10.8.5 plus 3 external drives [on hold]

I am being asked to search my OS X iMac for files I never had. I am permitted to do the search myself and wish to because it is otherwise very expensive and I'm sure to get stuck with the bill. I want ...
21
votes
4answers
15k views

In vim, how can I quickly switch between tabs?

In gnome-terminal, I can just press Alt + (1, 2, 3, etc.) to switch to specific tabs. I can also use Ctrl + (PgUp / PgDn) to cycle through tabs (admittedly less convenient, but it can be remapped). ...
5
votes
1answer
76 views

Terminal across two Monitors

I have two 24" Monitors connect to my Ubuntu 14.04 LTS. For some purposes it would be helpful to maximize my Terminal over both Monitors as one big Window. I can drag a window larger with the mouse, ...
0
votes
0answers
9 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 ...
4
votes
3answers
20k views

Connect to WiFi network using Mac Terminal

Every time I try to find out how to do this, I find out how to do it on a linux, and it doesn't transfer. How do I connect to a WiFi network using Mac Terminal Bash?
0
votes
0answers
7 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, ...
1
vote
1answer
684 views

In a Shell scripts, check version of installed package, make a decision based on output

Looking to write a cross distro / cross version shell script that makes sure a forced version of PHP is installed Example: Ubuntu 12.04 has 5.3, Ubuntu 13.10 has 5.5, Debian 7 has 5.4 I need this ...
0
votes
0answers
5 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 ...
5
votes
2answers
721 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 ...
0
votes
0answers
16 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, ...
30
votes
5answers
44k views

List the current folder folder's sizes with the terminal?

I want a list of the folders from the current directory or one that I specify with their size. I have tried with du but I only get the size of the directories I specify (du . ./f1), and ls doesn't ...
0
votes
0answers
26 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
40 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 ...
41
votes
5answers
19k 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 ...
1
vote
0answers
31 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
13 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
20 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
2answers
35 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
0answers
14 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
12 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
71 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. ...
3
votes
5answers
5k views

How do I download wkhtmltopdf on a Mac OS X?

I need to be able to automatically generate pdf files which contain puzzles with random numbers. The best way I can think of do to this given my knowledge is to make it with Javascript/HTML/CSS and ...
7
votes
2answers
1k views

tmux: close session while open

I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes. How can I close the session from inside of tmux. I know that I have to use the prefix (for me ...
0
votes
0answers
28 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 ...
3
votes
3answers
728 views

Why are things like Gnome Terminal called “Terminal Emulators” instead of just “Terminals”?

What are they emulating that keeps them from just being terminals? What does a plain-old "terminal" look like, if they are just emulators?
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? [closed]

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 ...
36
votes
8answers
12k views

How Can I Speed Up Terminal.app or iTerm on Mac OSX?

Every time I launch either iTerm or Terminal after not using it for a few hours, it takes anywhere from 10-20 seconds to return a prompt. The screen is blank, and although I can type I can't actually ...
20
votes
2answers
9k views

Use terminal scrollbar with tmux

I know how to scroll in tmux using the keyboard, but I noticed that it looks like there's a way to use the terminal scrollbar with GNU Screen. Can this be done with tmux?
2
votes
2answers
2k views

Can I find out if PCI-e slot is 1.0, 2.0 or 3.0 in linux terminal?

I'm going to purchase a GPU which is for PCI-e 3.0. But since I don't know what PCI-e slot it is in my computer I need to find it out somehow. Is it possible to find it from the terminal in linux?
1
vote
2answers
17 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 ...