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

4
votes
5answers
301 views

Showing all pages at once with man command [duplicate]

Say if I run the command man who, I have to keep pressing space or enter to show all content. Is there a way to show all of the content at once?
2
votes
2answers
78 views

Terminal Line not properly wrapping [duplicate]

I am having a weird issue with my terminal wrapping, and after reading online I have found out it is likely because of my PS1 setup, however, I looked at it, and it seems to match what people are ...
0
votes
2answers
122 views

How to escape from command line interface in fedora21?

I was stuck in command line interface of Linux Fedora 21. I don't know how to get to the GNOME. I forced my laptop to shutdown by hitting the power button several times. Now I really want to know how ...
2
votes
1answer
838 views

Garbage characters appear on screen when typing

When typing, garbage characters somehow appear on the screen for all the letters that I type. The garbage character is a small rectangle box, and this prevents me from executing any commands on the ...
0
votes
0answers
16 views

how to determine which terminal tag page is in a specific virtual screen

I opened several terminal tag pages, and ssh into the remote machine on these terminal tag pages. I'm using Ubuntu. I used screen command to open several screens on a remote machine and use Ctrl+A+D ...
1
vote
1answer
62 views

Apply Escape Characters in Redirected Output

I'm running a program that prints lots of escape characters (like "Esc[1A", to move the cursor up one line), and trying to redirect the output to a log file. When I run the program without ...
0
votes
1answer
33 views

How can I expand a terminal using the command line? [duplicate]

When I start the terminal in my xfce Destop environment a black winodw about a quarter of the screen size appears, if I want to expand it to full screen size I have to click on the "+"-shaped symbol ...
1
vote
1answer
32 views

What is the proper bash method of prompting the user for administrative password before backing up the usb data to the computer?

mate-terminal --window-with-profile=PROFILENAME="Hold the terminal open" -e "sudo rsync -azvu --log-file=/var/log/simplebackup.log --append-verify --exclude '.gvfs' /media/user/usb/ ...
0
votes
0answers
12 views

Mono - disable accompanying terminal window

I'm currently testing my .NET application using Mono on Xubuntu desktop running in VirtualBox. It runs perfectly fine, I just don't like that Mono starts with accompanying terminal window (probably ...
0
votes
1answer
828 views

Unable to configure the Network Settings in centos 7

unable to run "system-config-network-tui" command in centos 7. Returns the error "bash: system-config-Network-tui: command not found". I've already installed the package using "yum install ...
0
votes
2answers
48 views

How to open process again? [duplicate]

From my home pc using putty, I ssh'ed into a remote server, and I ran a python program that takes hours to complete, and as it runs it prints stuff. Now after a while, my internet disconnected, and I ...
0
votes
1answer
77 views

Linux why do i have to run commands instead of running the bash file [duplicate]

In order to run an executable file, I need to run all the commands in the below bash file first, so I just put those commands in the bash file and run the bash file first, but running the bash file ...
0
votes
1answer
79 views

Unable to print awk'ed datum in bash script

I am dumping datum into a csv file (my_datum_file.csv). The contents are all comma seperated, and I want to find the last instance of the 4th parameter (i.e. the last instance of datum regarding MX3, ...
8
votes
1answer
1k views

mkdir: cannot create directory: Function not implemented

I am in college and have to submit my cs homework from a school Linux machine, but I like doing the homework on my laptop (Mac). So instead of copying my files over every time, then submitting them, I ...
1
vote
2answers
324 views

Reopen a last closed tab in gnome terminal?

Can we reopen an accidentally closed tab in gnome terminal? Assume the closed tab is the last closed one. In firefox, we can use Ctrl-shift-t to do that. But I haven't found away in gnome terminal ...
1
vote
2answers
1k views

run a remote process via autossh in background

In Ubuntu I'm trying to run the geany editor on my local X display via the command: autossh -o StrictHostKeyChecking=false -XCg me@otherDYNDNShost geany & Trouble is, after the first ...
2
votes
1answer
130 views

How to disable mouse support in terminal?

I'm asking this question while using xfce4-terminal, but I'm interested in a general solution: is there a way to stop a terminal emulator announcing mouse support in consoles? I need mouse-select and ...
2
votes
1answer
60 views

Windowless xterm? (Faking a terminal for a process)

I'm fighting with a rather odd problem with Matlab. The startup script is located in /opt/matlab_2013b/bin and is called matlab. When I run it in terminal, it works fine. But I want to make a ...
4
votes
2answers
191 views

How to get the real name of the controlling terminal?

How can one get the real name of the controlling terminal (if there is one, else an error) as a pathname? By "real name", I mean not /dev/tty, which cannot be used by other arbitrary processes to ...
3
votes
2answers
147 views

Terminal with image support

Is it possible to have sort of a hybrid terminal that can display isolated images in one or more designated panes? As I understand it, modern terms are graphical emulations anyway, so obviously they ...
35
votes
2answers
81k views

List all connected SSH sessions?

I just SSH'd into root, and then SSH'd again into root on the same machine. So I have two windows open both SSH'd into root on my remote machine. From the shell, how can I see a list of these two ...
0
votes
0answers
18 views

Using snmpdf on a linux or unix machine

After searching and thrusting many different tries into play, I cannot find a command or variation of one that will print results different from: $ snmpdf -v 2c -c inserted_tries here Description ...
1
vote
0answers
62 views

Why doesn't manpage show the available options?

When I open a manual in bash in Linux Mint 17.1, e.g. man man, the available options are not shown. Why is that and how do I fix it?
1
vote
2answers
80 views

Linux copy range of folders

I found this link with an example of how i can actually copy range of files Copy a range of files in command line (ZSH/BASH), using this $cp P10802[75-83].JPG ~/Images/. Is there any way i can also ...
0
votes
1answer
43 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
0
votes
0answers
41 views

What could be the reason for a delayed display of the prompt ?

When I click on the Xfce-Terminal Logo, the terminal window opens, but for about 30 seconds there is no prompt and no reaction to a command. On the picture below, the lower window already attained ...
1
vote
1answer
101 views

How to tell screen session to regenerate its socket?

Note: the situation described here is completely different from this one. I have a couple of still-attached screen sessions, but screen -list produces % screen -list No Sockets found in ...
9
votes
3answers
515 views

How to `locate` multiple files and open them in vim?

Suppose that I have a file named filename123.txt and it is the single file that is named so, and I can locate it with the command locate filename123. And it returns only this file. Now I want to open ...
9
votes
3answers
7k views

Viewing system console messages in GUI

Under Linux, is it possible to view error messages that show up on the text mode terminal while in GUI mode, instead of having to press Ctrl+Alt+F1 or Ctrl+Alt+F2 to view the messages every time and ...
116
votes
7answers
84k views

How can I close a terminal without killing the command running in it?

Sometimes I want to start a process and forget about it. If I start it from the command line, like this: redshift I can't close the terminal, or it will kill the process. Can I run a command in ...
18
votes
7answers
7k views

Converting colored output into html

There are tools providing coloured output: dwdiff -c File1 File2 # word level diff grep --color=always # we all know this guy ... The question is: How to convert their colored output of arbitrary ...
5
votes
5answers
2k views

xargs and vi - “Input is not from a terminal”

I have about 10 php.ini files on my system, located all over the place, and I wanted to quickly browse through them. I tried this command: locate php.ini | xargs vi But vi warns me Input is not ...
1
vote
2answers
620 views

What does pressing Alt+Shift+3 do in Terminal?

What does pressing Alt + Shift + 3 in Terminal do? All I can see is that it prints a pound sign and jumps to the next line, but, supposedly, it does something special.
0
votes
1answer
16 views

Is it possible to see which components were uninstalled (last time or as back in time as possible)?

I am running Elementary OS Freya beta2 which being beta may run into trouble. One error that may appear is a message in terminal saying that certain components that are in fact useful and even vital ...
2
votes
1answer
133 views

Detect how much of Unicode my terminal supports, even through screen

Here's the problem: I want to be able to discern if my terminal is capable of decent unicode or not, in order to use some characters or not, much like glances does, that sometimes uses colors and ...
0
votes
2answers
211 views

how do I find the location of mysql drivers on CentOS 7?

MariaDB is installed on a remote CentOS 7 server. How can I find the location of the nearest equivalent to mysql-connector-java-5.0.8.jar in the server's file system? grep seems to only search ...
2
votes
1answer
271 views

calling javac from CentOS 7

I want to be able to use the javac command on the CentOS 7 terminal. How do I set the PATH variable in order to accomplish this? The following explains relevant aspects of my current environment. ...
0
votes
1answer
38 views

what do i need to do additionally to start X in order to not end in a black screen?

From the xfce desktop environment in Linux Mint, I pressed Ctrl + Alt + Fn in order to get into a virtual terminal, then I stopped the mdm display manager with killall mdm. So far it worked, but once ...
0
votes
1answer
3k views

Running Java classes in a package --> Error: Could not find or load main class

I'm learning how to compile and run java classes in terminal using the commands javac and java. I have no problem compiling and running an individual class, however, when I put that class into a ...
0
votes
1answer
819 views

command to clean up old log files

I was trying to automate some auto cleaning of my Ubuntu System, with Cron Jobs I tryed to simplify this: sudo find /var/log -type f -name "*.1.gz" -delete sudo find /var/log -type f -name "*.2.gz" ...
0
votes
0answers
57 views

How do i log into a virtual terminal ?

I do not know what a virtual terminal is, but i have to enter one, in order to switch off the display manager in a fashion that allows me to type next a command in the virtual terminal that starts the ...
0
votes
2answers
45 views

is the shell a frontend to the terminal? [duplicate]

Is the shell only an addon to the terminal, so that a terminal daemon has to work in order to to start a shell as its frontend. What controll does the terminal exherts upon the shell?
22
votes
4answers
21k views

Dark blue color in vim or ls output in linux

I have a problem with dark-blue color in vim or ls output. Because I'm using black background color, words colored in dark-blue are almost completely invisible. How can I address this problem?
8
votes
2answers
515 views

How do I find number of vertical lines available in the terminal?

I'm writing a script which shows the git log for a directory when I cd into it. Such a log can be overwhelming, containing hundreds of lines. So far I have been limiting that to a hard-coded 20 lines ...
0
votes
1answer
212 views

Can call login command from terminal

I want to create a user using useradd from root in my terminal window, after it I call passwd to set user's password. So I cant call login username because when I call it from terminal it closes ...
1
vote
1answer
127 views

Display result of a command right aligned in terminal

I have a script that goes through many different checks and I use the success, failure functions defined in /etc/init.d/functions to clearly show the action result on the terminal. That works great, ...
1
vote
3answers
238 views

Fixed terminal status lineS instead of shell prompt?

It is common to cram useful information in the Unix shell prompt, but I have too many things I want to keep an eye on to fit it all in one prompt: current Gnu screen window, current directory, current ...
0
votes
0answers
241 views

Create SSH session between Kali Linux to Windows XP

I'm currently using PuTTY to connect Windows XP to Kali Linux which has been very successful. However, for a project I'm working on, I need to connect from Linux to XP (using PuTTY still), but the ...
3
votes
1answer
139 views

How to clean stdout/stderr color output

I have a program that would output something like this: ^[0;33m"2015-02-09 11:42:36 +0700 114.125.x.x access"^[0m Is there built in linux program that could clean that output up into something like ...
3
votes
1answer
49 views

Parent restarted by child doesn't respond to CTRL-C

I wrote a program. It starts a process (call it A) that spawns a child process (call it D) that shutdowns and restarts A. Problem is, now I can't kill A nicely from the terminal (ie. CTRL-C isn't ...