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
2answers
37 views

SSH TERM detection

My ssh config file has accept env set as: AcceptEnv LANG LC_* I am a bit confused how when I ssh through some clients my TERM variable is set as xterm256-color, and other clients TERM is set as ...
1
vote
1answer
23 views

redirect one bash line to stdout/terminal vs log

I have a bash script where I'm redirecting output into a file for logging. if test -t 1; then # stdout is a terminal exec > $OUTPUT_FILE 2>&1 else # stdout is not a terminal, no ...
0
votes
0answers
20 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, ...
1
vote
1answer
22 views

How to get tree -a to ignore .git directories?

I love using tree to list directories, and I have a git repository with all my dotfiles. For me to be able to see them I need to do tree -a, but that will also list the contents inside the .git ...
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 ...
1
vote
1answer
33 views

Fastest rendering fonts in gnome-terminal

So I was reading an article on usesthis.com and he states "...I use the Terminus font because it is a bitmap font that renders fast and cleanly." Is this true? Which font renders the fastest in ...
1
vote
0answers
27 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ...
0
votes
3answers
134 views

How to set colors in OS X (Mavericks) terminal?

I want to set the color's palette of my terminal in order to use properly the Solarized colorscheme for Vim (http://ethanschoonover.com/solarized). I understand that i've to modify my .bash_profile ...
1
vote
0answers
21 views

How to type asterisk while being in screen

How to type asterisk (*) character while running "screen" in terminal? Asterisk is binded to show a listing of all currently attached displays. Maybe there is some way to unbind it?
0
votes
0answers
22 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 ...
1
vote
1answer
38 views

With Putty how do you make it act like windows cmd prompt with up arrow presses?

With Putty I would like to be able to press the up key to cycle through previous commands like Windows cmd prompt. Is there a way to accomplish this with Putty windows on a serial connection? If not, ...
0
votes
1answer
58 views

Mac OSX: Terminal command to replicate activity monitor network data?

I've been googling around for a while now to try and find a terminal command which can output total kb/s IN and OUT for wifi (en0). The command cannot use sudo, so lsof is out. I've tried using ...
2
votes
2answers
53 views

How do I use caffeinate to prevent my computer from sleeping while a script runs?

This morning I started a very long running script with: caffeinate python spam.py and when I checked in on the computer several hours later, the computer was asleep! I moved the mouse and the ...
0
votes
0answers
12 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 . ...
1
vote
2answers
19 views

Can't run the Python interpreter in Mac's Terminal

At the moment i'm on Mavericks, and i just uninstalled homebrew. With homebrew i had installed python, but after uninstalling it my terminal can't start the python interpreter. I receive this message: ...
0
votes
0answers
16 views

Segmentation Failure 11 in Single-User Mode

I booted up my Mac in Single User Mode (by holding down Command-S while it boots) so then I have access to a terminal that is logged in as root. But when I run passwd to try to change root's password, ...
0
votes
1answer
20 views

How to run headless VirtualBox in another GUI terminal in Linux?

I want to run Windows and Linux simultaneously through Virtualbox with Linux as a host. Having desktop environment running on GUI terminal (ctrl+alt+f7) I want to run from the first terminal ...
0
votes
1answer
77 views

Tilde (~) in Mac OSX terminal pathway

I am new to the Mac OSX environment, and was programming in C using the terminal. To change the current directory, I used the command cd .. to go one level up. However, this had a weird effect on the ...
1
vote
2answers
35 views

Security risks using SUDO in TERMINAL on MAC

I'm very new to using Terminal and anything like that and stupidly followed an article that uses Terminal with the SUDO command. The sudo command basically loaded a file which updated my ...
0
votes
1answer
49 views

ant command to start a new terminal and execute command on mac

I am trying to open a new terminal window in mac and execute a node command via ant <exec osfamily="unix" dir="${dir}" executable="open" failonerror="true"> <env ...
0
votes
1answer
38 views

Directories will list, but are not recognize by cd

New to terminal and having problems out of the gate. Using Terminal 2.1.2 on a Mac running 10.6.8. Using the "ls Documents" will list the contents, but when I try to change directories, which I tried ...
1
vote
2answers
22 views

Open file to run x time - linux terminal

I want to create x instance of a .sh file. By exemple instad of open x terminals and enter ./.sh in everyone, I want to open then open autmatlicly all doing the same "*.sh" file run. Any way to do ...
1
vote
1answer
32 views

Putty: highlighting copying

I currently use Putty at my work, and I am always fascinated by how useful the highlight copying tool is. Is there some way I can get this same feature on my System 76 laptop when I am in the ...
0
votes
0answers
23 views

Start terminator terminal in a free spot on my screen

When I start the default Ubuntu terminal, it automatically puts the new terminal in a spot on the screen where no other terminals are there. Now I set terminator as my default terminal. But whenever ...
0
votes
2answers
62 views

Unable to create a permanent alias in Mac OS

In Linux I can well to add alias to bashrc and it will become a permanent alias. In Mac OS I tried to do the same thing: vim ~/.bashrc export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH f or ...
0
votes
0answers
7 views

How can I activate the Front Panel in CDE?

We installed a new Solaris work station at work and most of them come with the Front Panel, however the latest did not. How can I activate it?
2
votes
1answer
79 views

Starting programs from terminal then exiting terminal exits started programs?

I really was unsure how to phrase the question title. What I mean is that when I use the terminal to start a program, most of the time when the terminal is closed it also exits the programs started ...
3
votes
3answers
428 views

How to copy a file with a $ (dollar sign) in the name from one folder to another in Linux?

I have a file which I want to copy from one directory to another directory. Suppose that's the file some.txt to copy from folder1 to folder2 cp -r some.txt /folder2 I am able to copy this file but ...
76
votes
7answers
5k views

Why are special characters such as “carriage return” represented as “^M”?

Why is ^M used to represent a carriage return in VIM and other contexts? My guess is that M is the 13th letter of the Latin alphabet and a carriage return is \x0D or decimal 13. Is this the reason? ...
3
votes
2answers
395 views

How to search a text file for strings between two tokens in Ubuntu terminal and save the output?

How can I search a text file for this pattern in Ubuntu terminal and save the output as a text file? I'm looking for everything between the string "abc" and the string "cde" in a long list of data. ...
0
votes
1answer
26 views

Redhat linux terminal garbage output when using telnet

I am using redhat-linux terminal to connect to a router device by means of 'telnet'. While the device boots, the characters are getting printed in garbage manner which is as follows, In terminal, ...
1
vote
1answer
20 views

Is there any way to redraw the text in a terminal window after resizing it?

Just a usability question really. You know when you are working in a terminal window and you decide to do some query that brings back a wall of text and you think to yourself... "that would be easier ...
0
votes
0answers
14 views

Scrolling with shift-control-pageup in gnome-terminal

Is it possible to configure tmux (inside gnome-terminal) so that the key combinations Shift-Ctrl-Page Up and Shift-Ctrl-Page Down can be used to scroll up and down in the terminal's history?
0
votes
1answer
21 views

Mac OS X set terminal name that persists after SSHing somewhere else

I try advice like this that recommends adding the following to your .profile: function tabname { printf "\e]1;$1\a" } So you can type tabname brokenbox to name your tab. The problem is as soon ...
0
votes
0answers
37 views

Detaching from a GNU Screen suddenly clears the terminal

I feel so stupid for asking this, but here goes: I updated my Ubuntu (Server) install today from 13.10 to 14.04. Before the upgrade detaching from screen did not clear the terminal and now it does. ...
0
votes
1answer
48 views

How to handle Multiple OfflineImap with Gpg stored Passwords?

I am using Offlineimap with gpgp stored passwords. Pretty similar to this setup https://unix.stackexchange.com/questions/44214/encrypt-offlineimap-password My issue is this. I have multiple email ...
0
votes
2answers
62 views

How to make Vim respect proper wrapping when opened from Mutt?

I am using the line below in my .muttrc Editing generally seems to work except that braking at 79 driving me nuts. I cannot get Vim to stop acting that way. I do not want any braking whatsoever but I ...
0
votes
1answer
36 views

Choosing processors for terminal server [closed]

I am going to buy a server for terminal sessions. It must be able to serve about 500 concurrent sessions without any significant impact on performance. Each session will run a quiet simple app with ...
1
vote
1answer
22 views

How to make screen bigger in byobu

My new server install looks odd: is there anyway to resize it to use the whole terminal window?
1
vote
3answers
48 views

How do I properly install and organize terminal software on OS X?

I've been learning vim and messing around with installing certain terminal extensions like zsh and tmux. So far I've been installing everything according to their online instructions, and this has ...
0
votes
2answers
102 views

Can I install ConsoleZ without a package manager?

I am not sure why/how, but I can't seem to simply install ConsoleZ on my Windows 7 computer. I went here, got the latest x64 release, and unzipped it. Afer unzipping it, I get just one directory, ...
1
vote
3answers
56 views

How to open new terminal in current directory?

When in a directory, I sometimes want another terminal to be opened in the same directory. For example, I'm in ~/code/someproject/src/, and I open a new terminal, by default, it opens in ~, how do I ...
0
votes
0answers
48 views

When opening Terminal: “NO LOGINS: System going down at 01:10”

I'm trying to get a terminal open, and I get this message: NO LOGINS: System going down at 01:10 Login incorrect login: *myname* Login incorrect login: It doesn't prompt for my password. This ...
0
votes
1answer
51 views

How do I display directories in colour on remote systems over ssh via Terminal?

When I do ls in Terminal.app, I see that directories on my local system are in colour. However, when I connect to a remote cluster via ssh, ls output is no longer coloured. Is there a way to have ls ...
0
votes
1answer
55 views

Issue with RVM conflicting with Brew?

Please bare with me as I am not an expert on bash. In fact I'm fairly new to OSX < 1 year. I ultimately would like your help to get my system configured optimally, thus removing unnecessary tools. ...
0
votes
1answer
20 views

Why does iterm2 toggle font rendering with every other boot

I don't reboot my mac very often, so I can't really state if this occurs with every reboot/relogin, but I dare to say, pretty much every time the font rendering of my iterm2 becomes thicker or thinner ...
0
votes
1answer
21 views

How can I start a totally independentt new instance of tmux?

If I have already a tmux session opened, results that I can't start a new one with another tmux configuration, for ie: $ tmux # loads new session using ~/.tmux.conf In another terminal... $ tmux ...
0
votes
1answer
30 views

Cancelling shutdown -h command on Mac

I usually use the command sudo shutdown -h +60 from the Terminal on my Mac. Although I'd like sometime to cancel the scheduled shutdown or postpone it. Is there a command to do so? If yes, how?
3
votes
0answers
84 views

Will any (recent) Linux terminal emulator allow me to save my session (tabs, history, etc)?

Over time, I become invested in my terminal sessions: tabs, command history, window layout and title, etc. Eventually, a reboot requires me to start all over again which wastes my time. The two ...