A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

learn more… | top users | synonyms

1
vote
1answer
183 views

Mac 10.9.1 // Gerris installation //

I am trying to install Gerris . The website is : http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation I followed the instructions. But I could not install Gerris Dependencies. I installed ...
15
votes
2answers
1k views

Is it harmful to close a terminal window without properly exiting an application?

Using Ubuntu 12.04 LTS, my question is that if I started an application in a terminal window, then is there anything bad about just closing the terminal window without exiting the application properly ...
3
votes
0answers
63 views

Slow terminal print out

Just installed (netinstall) debian wheezy on a second machine newer machine however the terminal print out is noticeable slower than on the old machine although the new have faster CPU, RAM and HDD ...
2
votes
2answers
256 views

How do I get rid of the small nub in the bottom right corner of my terminal?

I'm setting up XMonad within Linux Mint, and I've been able to remove the menubar and the scrollbar from my terminal windows, but I can't get rid of the small resizing nub in the bottom right corner. ...
1
vote
0answers
225 views

How to change colors of all running urxvt instances?

I'm used to black background and light green text when working on my urxvt terminals. But sometimes, when I take my laptop outside, it becomes hard to read and I'd like to change the colors of all my ...
0
votes
0answers
21 views

remotely connecting to Unix from Mac to use Gerris simulation

I am trying to run a simple file on Gerris software (is like gnu) on a remote Unix machine. I moved the simulation file written in nano into remote machine say dps11. samires-mbp:~ samirebalta$ nano ...
1
vote
1answer
53 views

How to open a directory and save code in it Gerris in Linux?

I am new to this Unix and Gerris (software) world. I have to simulate. but I cannot open and type these codes below in vortivcity directory.I am using remote connection from mac to university machine. ...
3
votes
1answer
191 views

Using a variable inside a sequence of commands in bash to supplement an existing string - syntax error or flawed design?

I'm using the following sequence of commands in my .bashrc file to alter the appearance of my linux terminal. It fills the screen line by line with a pattern made out of characters. There is no ...
1
vote
2answers
306 views

Keeping xterm terminal alive on crunchbang linux debian wheezy

I like to keep a number of terminals open at different locations on my development VM. For this I use terminator because I got a big screen and I can divide the terminals anyway I want. But after ...
0
votes
1answer
169 views

How do I find out the keycodes for Ctrl+up and down arrow for TERM=screen?

I am using tmux a lot, and I have already managed to tune my OS X terminal to send the correct key codes for Ctrl+left and right arrow (\033b and \033f). I found those information on the web. However, ...
8
votes
3answers
167 views

Clear / erase a mistyped password in a terminal

One thing that annoys me using Linux's terminal is when I have to type a invisble password, like when you run ssh the terminal I was wondering if there's a way to clear/erase the invisible password ...
6
votes
7answers
919 views

Minimalistic terminal music player that can play all my files randomly

I'm looking for a terminal music player. mpg321/mpg123 is quite what I need, but it can't play all my music directory (which contains child directories). cmus seems to be a bit of an overkill, as ...
5
votes
2answers
275 views

Processes do not respond to my signals

I have a strange behavior on my system. When I invoke a command in the shell (bash version 4.2.45(1)-release), say top or cat, the running program (the process) does not respond to Ctrl+C. I even ...
0
votes
1answer
41 views

Different representation of bash in 'ps -f' command [duplicate]

I have two bash running; one is Terminal application that runs bash, the other one is xterm application that runs bash. With ps -f, I have -bash one, and bash at the other. What makes this ...
0
votes
1answer
66 views

Some garbage characters in Linux terminal

My embedded linux app sometimes outputs the text like this: root@variscite /mnt/nfs$ ./test GPIO_IMX6_C: i=1 cannot open GPIO device file /sys/class/gpio/gð½Å¢ ...
2
votes
2answers
89 views

Why does the bell character have a limit?

If I repeatedly execute echo -e "\a" it will only sound on regular intervals rather than every time I execute the command. I've tried shortening the duration using xset but this doesn't seem to ...
0
votes
0answers
33 views

Where to find the downloaded file after dragging a FTP URL to the terminal?

Usually, when I drag a link to the terminal, the link target is pasted in the terminal. However, when I just dragged a FTP link from Chromium to my Terminal (first result on Google for "ftp pdf", ...
3
votes
1answer
174 views

Saving terminal windows in mint

How can I save all the terminal tabs(with each current pwd in each tab) and terminal window positions.
1
vote
0answers
40 views

Convert command produces a small error [closed]

First off, I'm on a Mac, but I think this can be solved here. I'm converting a .gif animation to a series of .png's using. $ convert ex.gif my_png_files_%d.png I get a series of .png-figures but ...
2
votes
1answer
74 views

Why when I enter the command “hostname” it returns something other than my computers name?

I am using a macBook Pro I enter: new-host-2:~ Justin$ hostname And it returns: new-host-2.home Why is this when it says in setting/sharing my computers name is "Justin's macbook pro" and computers ...
4
votes
3answers
4k views

How do I run safecopy in terminal?

I'm very new to terminal and Linux so apologies! I have a crashed external hard drive that is spinning but wont appear on the desktop. I ran safecopy from terminal and this is what it said at the end ...
8
votes
5answers
10k views

delete line in vi

How can I delete a line in VI? Here what I am doing right now: Open up the terminal alt + ctrl + t vi a.txt I move my cursor to the line which I wan to delete, then what key-combination is should ...
0
votes
3answers
358 views

Shell script testing through terminal simulation

I am developing a generic bash script which could be executed in different distro. I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal (online or ...
16
votes
9answers
1k views

How to make sure that a command is not interrupted, even if terminal is closed? [duplicate]

In Linux. Say I want to run a command and it takes too long. I just want to ensure it's done. How?
6
votes
2answers
680 views

Detect if running in a virtual terminal?

I'd like to autologin to tty1 on login and then use vlock to lock it. How can I detect from Bash if the current terminal is a console virtual terminal (e.g. tty1), so that I can put the vlock line ...
6
votes
1answer
335 views

Documentation on LESS_TERMCAP_* variables?

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap? screenshot
0
votes
2answers
691 views

Rename file in Mac OS Terminal using Regex

Hundreds of images need to be renamed with a terminal command using regex on MacOS 10.9 Mavericks. The files are named this way: 0045AW489R3T(IPCAM)_0_20131124101245_931.jpg ...
0
votes
2answers
230 views

How to change background and text colors in Yakuake?

I like Yakuake, but I don't like the grey background color. I want to change the background and text colors of the Yakuake terminal. I checked the options, but the background color option is only ...
0
votes
0answers
21 views

Hotspot on Linux Not Working: Already in use?

I was following my own article, but after having activated the Hotspot as mentioned, I get the following error: Address already in use ...
1
vote
1answer
62 views

Installing Certain PPAs

I'm following my own article: Making a Wireless Hotspot When I put in sudo add-apt-repository ppa:nilarimogard/webupd I get the message Cannot access PPA ...
2
votes
2answers
143 views

Is it correct to set the $TERM variable manually?

I set the $TERM variable adding the line XTerm*termName: xterm-256color to my .Xresources file. When I did it I didn't know what exactly that meant (I was following an online guide to change the look ...
3
votes
2answers
4k views

How can I make PuTTY compatible with Solaris?

I'm connecting to a Solaris machine from WinXP using PuTTY. When I try to use the NumPad keys for editing a command in Bash (Home, End, Delete) a ~ character is instead printed to the console. ...
6
votes
1answer
674 views

How can I list the available color names?

I'm trying to add some color to my git configuration and I want to know what color names are available on the terminal. I only want to use colors by name so it's easier for others to understand I ...
-2
votes
1answer
52 views

Need some type of shortcut [closed]

So first thing, I am not good Linux really beyond mildly advanced commands. I need some type of short cut from one fake folder called SD-card to a real folder called system/advt so whenever something ...
9
votes
2answers
534 views

Alt-Left to skip words does not work in terminal emulators

On a Debian Wheezy machine at previous job, I got used to Alt+Left and Alt+Right to skip between words on active command-line (in bash). However, since at home I have upgraded to Jessie (Debian 8.0, ...
1
vote
2answers
65 views

Is there a way to keep an app running after closing the terminal that calls it? [duplicate]

Say I run an app from a terminal, but in some cases I want to close the terminal but hope the app keeps running. Is there anyway to do so in Linux? I just found that when calling an app via "exec ...
3
votes
1answer
43 views

How do I generate the sequence “\e[Z” in a terminal?

It is bound to menu-complete in GNU readline. $ bind -p|grep menu "\e[Z": menu-complete # menu-complete-backward (not bound) # old-menu-complete (not bound) I think it's Meta-something.
1
vote
2answers
1k views

How to see all commands executed by the current user, in all sessions/screen/byobu terminals?

If there is debian box, some users have access to the root account, some of those users open an ssh connection and start executing commands, some open screen or byobu or other similar tools to execute ...
3
votes
5answers
504 views

What are the special characters to print from a script to move the cursor?

I found that by printing \r from a script the cursor moves to the beginning of the line. What character will move the cursor up one line? Where is a list of these special characters? EDIT: Working ...
1
vote
1answer
40 views

Mysql import the most recent file from a directory

I have a directory with daily backups of my entire MySQL database. I want to import the most recent backup into the database. I know to import a backup I need to use mysql -u root -ppasswordhere ...
0
votes
1answer
83 views

Cancel SSH (after using it to browse) without logging out?

I'm afraid I'm not an expert on Unix and its command line (I'm using a Mac), so do bear with me (possibly an extremely stupid or basic question). I've used the command ssh -D 8080 -f -C -q -N user@IP ...
3
votes
1answer
95 views

Trailing spaces when copying from gnome-terminal using zsh

When copying text from gnome-terminal with zsh trailing whitespace is also copied. For example copying the following clearly adds a vertical scollbar on stackexchange site as trailing whitespace the ...
1
vote
1answer
96 views

Autocompletion and coloring not working, when using ssh in emacs shell

I'm connecting to remote server using emacs shell. Emacs shell displays directory listings with proper coloring and auto completion when working with local machine. But when I use ssh the ...
1
vote
1answer
96 views

Simulating READLINE_LINE in Bash < 4.0

I am trying to make some of my code bash 3.X compatible and I have a key-binding that utilizes READLINE_LINE inside its callback function. 3.0 versions of Bash don't supply the READLINE_LINE, so I ...
0
votes
2answers
983 views

$PATH in /etc/profile not inherited by user shell

I have this in /etc/profile in Fedora 17: PATH=$PATH:"/usr/pgsql-9.2/bin" EDITOR="/usr/bin/emacs -nw" PSQL_EDITOR="/usr/bin/emacs" PAGER="/usr/bin/less" export PATH USER LOGNAME MAIL HOSTNAME ...
12
votes
2answers
550 views

Can the empty spaces/background in a terminal be replaced with a random(but pretty) pattern of ASCII characters?

Context and Question There are many ways to colorize the terminal and shell environment. The output of individual commands, such as ls and grep, can also be colorized. Not directly related but ...
0
votes
0answers
375 views

Octave - warning: unable to open X11 DISPLAY

My setup is as follows: Octave 3.6.4 Mac OS X Mavericks 2009 Macbook Pro I'm trying to run Octave in Terminal, with gnuplot. I'm trying to plot matrices in a graph, as part of an online Coursera ...
6
votes
3answers
4k views

what is stored in /dev/pts files and Can we open those?

I am curious to know that what is stored in /dev/pts/ files . Can we open those files ? According to my knowledge /dev/pts files are created for ssh or telnet session .
11
votes
2answers
1k views

How does a Linux terminal work?

If you fire up a terminal and call an executable (assuming one thats line oriented for simplicity) you get a reply to the command from the executable. How does this get printed to you (the user) does ...
12
votes
2answers
10k views

What is the concept behind “tty” in linux?

Where did the terminology "tty" come from in Linux?