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

2
votes
2answers
33 views

How can I select and copy file names in the command line without using the mouse?

Typically, when I want to perform an action on a file I discovered in the terminal after calling [ls], I would have to - with my mouse - highlight, left click, copy file name, type the command in then ...
0
votes
1answer
10 views

Warning message after updating

I have Linux Mint 17 Cinnamon edition and after updating using the terminal: sudo apt-get && sudo apt-get upgrade I got this warning message: ... Building dependency tree Reading ...
3
votes
2answers
46 views

Yellow appears as brown in konsole

For some reason, the yellow color color (ANSI Esc. code 33), appears for normal fonts as orange/brownish in my terminal (yakuake, konsole). For example, the command echo -e "\\033[33mhello ...
2
votes
1answer
38 views

Can I re-login a disconnected session? [duplicate]

For some network reasons, my previous SSH sessions to server have disconnected. When I create a new session, I find the previous session still exist: [root@localhost ~]# who root pts/0 ...
0
votes
1answer
39 views

User Input Bash Script

I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could ...
0
votes
0answers
14 views

Yocto menuconfig not working

For some reason the menuconfig menu does not come up when I try launching it from my Yocto installation. I am using the Toradex Yocto 1.6 system as is described here ...
0
votes
0answers
51 views

Mac terminal user privileges [closed]

While logged in as an admin on my Mac terminal, I reset the user privileges in the terminal with export ("\U \$") or something similar, I don't remember correctly. Anyhow, I could cd back to the ...
1
vote
1answer
37 views

How does 'bash' or 'gnome-terminal' print user and path information? [closed]

I am wondering if there is a different mechanism between printing user and path information(e.g. "guest:~/home/guest$") and command outputs. When I try to PIPE stdin and stdout of "bash", I can only ...
0
votes
1answer
18 views

Execute a program from the bash terminal without waiting for program to close [duplicate]

Executing a program in the terminal with a command such as ./theprogram runs the program, but waits until the program closes. This is useful if you want to see the output of the program, but what if ...
1
vote
0answers
15 views

What is the kernel frame buffer?

I was reading the "mplayer" man pages trying to play video using just the console, (I don't have or don't want to install X11). It mentions that I can use the kernel frame buffer device which is ...
1
vote
1answer
48 views

How to Prompt the user to press Enter to Exit in terminal so that the terminal doesn't close automatically?

Here is my Port.sh file echo 'Give me a maximum of 5 seconds to run please.' lsof -i | grep Xvnc | grep ESTABLISHED | grep $USER lsof -i | grep $USER | grep Xvnc | grep -o -P '(?<=:).*(?=->)' ...
5
votes
2answers
128 views

How and where is $TERM interpreted?

I'm wondering how some terminal magic works internally. While playing around with docker containers, the environment variable $TERM was not set. This led to strange-looking console applications like ...
-1
votes
0answers
41 views

What exactly is Ctrl + s? [duplicate]

In my terminal, if I press Ctrl+S it 'freezes' output, which can then be resumed with Ctrl+Q. What exactly happens here? What library/program supplies this functionality or at least says what ...
0
votes
0answers
23 views

Local system doesn't forward to intended port defined in OpenShift proxy app

I've set up a proxy server via OpenShift based on this tutorial and used a few days by forwarding my local system's ports to remote app's ports: $ rhc port-forward AppName The result in the proper ...
1
vote
1answer
54 views

How to get the http dump of a website and the header both from a single curl command?

I have to fetch a website (multiple redirections possible using -L) and save the html content in a file named as [HTTP_Status_code]_[Website_name].html Currently I am using two curl calls one for the ...
8
votes
2answers
516 views

Can I save output from a previous terminal command using only the keyboard?

I just spent the last two hours running a dd command (or picture any similar "difficult to re-do" scenario) from a live CD without a GUI; all I have is my trusty "multi-window" (CTRL+ALT+F#) Bash ...
1
vote
1answer
44 views

Ctrl+C process termination without Terminal killing

I started using Sublime Text 3 to compile my FreeFem scripts (interpretator PDEs package solver) under Ubuntu 14.04. To invoke the interpretator I customized the build system as follows "shell_cmd": ...
0
votes
1answer
52 views

How can I observe my own actions via terminal

To understand Linux better I want to see which commands run in background. For example when I create new file via GUI, is there any way to see the which command runs in terminal?
0
votes
0answers
11 views

Is it able to redirect content of remote host clipboard to local clipboard?

When I doing :%y+ in a vim session on the remote host, I actually saved the content into remote host clipboard, right? Is there a way that I can redirect such content of :%y+ from remote host ...
0
votes
1answer
32 views

*ls* font differences between files and folders with “--color” option

I have recently switched to urxvt from xterm for better unicode support and it does much better as to the font fallback. However I find an interesting issue: names of files and folders are rendered ...
0
votes
0answers
21 views

Changes to be commited half green half red [migrated]

Last time I used git add . and git status after I got this output: Why is the output colored this way, and why are the paths ordered so oddly? For example: ...
8
votes
0answers
78 views

What terminal emulators offer tmux integration?

tmux has its control mode, activated with -CC, to allow the terminal emulator to control tmux. iTerm2 uses this to great effect for allowing tmux windows to appear as separate iTerm windows. Are ...
0
votes
1answer
33 views

Bash/OSX script to run commands in 2 Terminal/iTerm tabs?

To run my node server proxy and then my project in Gulp Browsersync, every time i need to run node server in one tab, open a tab in the same directory and run Gulp. I'm not sure if the second tab is ...
2
votes
2answers
39 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 ...
4
votes
5answers
285 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?
0
votes
0answers
15 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
0answers
27 views

How do I autostart devilspie under gnome3 on fedora 21?

I am attempting to embed a gnome-terminal on my desktop using devilspie. Adding a devilspie.desktop file in the ~/.config/autostart directory does nothing. It does not execute on login. However, ...
1
vote
1answer
19 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
25 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 ...
0
votes
0answers
9 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 ...
1
vote
1answer
26 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
1answer
23 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
32 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 ...
-1
votes
1answer
58 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
2answers
33 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
56 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
365 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 ...
0
votes
2answers
42 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 ...
2
votes
1answer
46 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
35 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
66 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
54 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 ...
0
votes
0answers
8 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
49 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?
0
votes
1answer
20 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 ...
1
vote
2answers
30 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
0answers
26 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
26 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 ...
0
votes
1answer
15 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 ...
0
votes
2answers
33 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 ...