Tagged Questions

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
4answers
952 views

Uninstalling *.run file

I just installed a file called SenchaCmd-4.0.2.67-linux-x64.run by executing the following code: ./SenchaCmd-4.0.2.67-linux-x64.run Due to a problem I describe in detail here, I decided to ...
0
votes
2answers
83 views

Command to restore filesystem to state after installation of the OS

How can I wipe all the changes to the filesystem since installing the OS? It's not that I want to destroy the files because they contain sensitive data or anything like that; I just want to start over ...
0
votes
1answer
101 views

Host name on terminal changes when I connect internet : why?

[acme@localhost ~]$ su Password: [root@localhost acme]# Now I connect internet and I get the following: [root@localhost acme]# exit exit [root@localhost acme]# su [root@dhcppc9 acme]# Edit ...
8
votes
1answer
306 views

Why do we need so many terminal emulator packages and what is their use?

This is something that has been so confusing to me for a long time. I am using Linux but I have gaps in my understanding of certain aspects and one is about the terminal. As I came to understand it ...
0
votes
1answer
24 views

How exactly is a Linux desktop/device/display expressed in a terminal?

My plan is to use vpxenc (video encoder) and flac (audio encoder) to record the screen/microphone, but I'm stopped short of entering the input (file) in the command line. How can I exactly address a ...
3
votes
4answers
2k views

Pipe all input and output of terminal to file

I do not know if this is even possible or not, but in an attempt to keep track of many changes I am about to make to my system I want to track all input I type and all output from a terminal I'm ...
1
vote
0answers
240 views

Passing escape sequences to shells within ansi-term in Emacs

In a regular terminal (e.g. iTerm2 on OS X) I can connect to a database, e.g. > psql .... and then, as I type my command in psql, e.g. $ select foo from bar I can move around (as I type psql ...
1
vote
0answers
145 views

Which process is occupying a certain pseudo terminal pts/X?

On Linux: Normally pseudo terminals are allocated one after the other. Today I realized that even after a reboot of my laptop the first opened terminal window (which was always pts/0 earlier) ...
1
vote
1answer
255 views

UTF-8 in Terminator

I use the Terminator terminal emulator, and out of pure boredom, I installed and attempted to run this program: https://github.com/thiderman/doge However, it requires UTF-8 encoding to work. I opened ...
0
votes
1answer
75 views

Zenity refuses to work in background

I'm trying to create a background bash script which creates a popup in certain circumstances, however, my code only works when run manually in a terminal (e.g. not in the background). I've tried ...
10
votes
1answer
212 views

Include colouring in GNU ls time-style

I know, I can specify custom time format for ls like this ls -lAF --time-style="+ %Y-%b-%d %H:%M:%S" --color=always but I would like to "smuggle in" colors inside the time format. For example, I ...
1
vote
1answer
211 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 ...
3
votes
0answers
77 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 ...
0
votes
0answers
22 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
71 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. ...
2
votes
1answer
198 views

arrow keys are not working with terminal server telnet (termnetd) session

I am using terminal server package termnetd 3.2, which reads serial port and gives output on telnet port. I logged into terminal server port, every thing works fine except the arrow keys, Home and End ...
1
vote
1answer
152 views

What linux server settings allow my long running processes to keep running after the terminal is closed/terminated?

In previous jobs and experiences, I used screen or nohup to run my long running jobs from my terminal screen. Most, if not all of my previous jobs' servers dropped you if it didn't detect any ...
1
vote
2answers
471 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 ...
4
votes
1answer
252 views

How to find out the escape sequence my keyboards sends to terminal?

Let's say we have a generic keyboard with some unknown keys which may send escape sequences to terminal. The keyboard is connected to an xterm terminal emulator running on a generic BSD/Linux. To ...
0
votes
1answer
228 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
183 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 ...
0
votes
1answer
58 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 ...
5
votes
2answers
502 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
87 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ð½Å¢ ...
0
votes
0answers
38 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
267 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.
2
votes
2answers
111 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 ...
2
votes
1answer
92 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 ...
1
vote
0answers
44 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 ...
16
votes
9answers
2k 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?
8
votes
1answer
504 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
362 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
25 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
99 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 ...
0
votes
3answers
521 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 ...
2
votes
2answers
132 views

Show a sliding window of output from a program

I want to run a command (rsync -av) and only display 10 lines of output at any time. I have found a similar post, but I don't want to redirect it to a file. I want the output to be displayed ...
2
votes
2answers
218 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 ...
-2
votes
1answer
53 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
786 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
79 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
47 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.
3
votes
5answers
705 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
58 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 ...
11
votes
1answer
459 views

Clear old prompt lines in bash to save scroll space

My terminal theme used to be like this, But I thought the prompt wasted so much space. And later I got an idea that I could clean the prompt every time I ran a command. I was using bash, one of ...
3
votes
1answer
139 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
108 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 ...
1
vote
1answer
131 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 ...
3
votes
2answers
1k views

How to change the width of remote serial console?

I followed this tutorial and now I'm able to connect to serial line. Now I want to change the width of terminal. How can I do this by using screen or minicom or something else?
0
votes
1answer
88 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
238 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 ...