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
0answers
10 views

Changing fonts in the FreeBSD terminal

How would I change the font of my terminal in FreeBSD to the Noto Sans font? I am interested in Noto's support for a wide variety of Unicode characters. I downloaded the font using the package manager ...
0
votes
1answer
13 views

Help designing an 'extract - store - feed' workflow

Working with a large volume of files, I would like to automate the process of storing stdout info as a variable that I can feed into as an input for my next process. Specifically, when I put... ...
0
votes
0answers
13 views

how to get terminal to show root prompt in su

I am logged into a (normal) user, but when I go su : password my normal promt goes into showing me this instead of what it should. how to I fix this? ターミナル 10:15 AM (~) $ su Password: ...
0
votes
0answers
12 views

My terminal is giving unformatted results (output) after upgrading to Ubuntu 15.10

Whenever I run g++ to compile any C++ code, My terminal is showing some weird output. Even when I do like man ls And this happened from the moment that I upgraded from Ubuntu 15.04 to Ubuntu ...
0
votes
0answers
18 views

respawn with arguments and tty3 without root?

Please bear with me as I am not a Linux guy. I am trying to start a application to run in a terminal that I can ssh in and conspy to see the activity and also respawn if there is a crash. I have a ...
0
votes
1answer
13 views

How to prevent garbled screen display while running scripts on remote hosts?

Current scenario: I am trying to run Unix shell script from a solaris 5.10 box, within the script one of the tasks is to ssh to another Linux host (ssh-key pair already setup) and run a set of ...
0
votes
0answers
12 views

Problem with rendering fonts in Terminal [duplicate]

I have this problem with font rendering in Manjaro 15.12 - it shows question marks in screenfetch too, instead of a logo. Is there a way to solve this? P.S. Font in Terminal is Monospace, if it ...
3
votes
2answers
26 views

Run in background but not discarding the output

I use a Git hosting. So I often run git push. I want to run git push in background, in order that me not to wait when it finishes but do other tasks in my terminal. But I don't want to run git push ...
0
votes
2answers
35 views

How do I permanently remove an Alias from my Shell

When I was not near my computer some guy got it and set an Alias for ls in my root folder. He set it to 'yes NeverGonnaGiveYouUp'. So now when im in my root folder and type ls I get an infinite loop ...
0
votes
1answer
14 views

Raster font in Linux terminal

Is there anyway to get the command prompt font (raster font) into the linux terminal. I would really like to know how to because I just really like this font. Thanks
4
votes
0answers
22 views

Reuse rsync --dry-run output

I usually do rsync -n before doing an actual rsync. The thing is, how could I automate the second run to reuse exactly the list generated with --dry-run? I mean, if I run rsync -n then I get a ...
1
vote
1answer
22 views

Connecting to WPA network in FreeBSD

For whatever reason I am having a very annoying time just trying to connect to a network in FreeBSD. So the question is how would someone manually connect to a wireless WPA network in FreeBSD 11.0? ...
1
vote
1answer
18 views

tmux doesn't passes correctly ctrl-shift-arrow sequences

Tmux doesn't passes correctly the ctrl-shift-arrow sequences. It doesn't work on emacs, and when I use sed -n l, I see it displays the escape sequence of the arrow key alone instead of the full ...
1
vote
2answers
19 views

bash adding a filename to an alias command [duplicate]

I have an alias to a ffmpeg command to start recording a session like this: alias sreq='ffmpeg -f x11grab -r 24 -s 1024x768 -i :0.0 -qp 0 -c:v libx264 -preset veryslow' I can just type sreq ...
0
votes
0answers
30 views

How to get curl progress bar in terminal?

I'm using curl to upload files from a bash shell. I know there's the option --progress-bar which is supposed to give an upload progress indicator, but no matter what, I can't get it to show. I do ...
0
votes
1answer
20 views

Setting up Intel Wireless AC 3160 NIC in FreeBSD

I have a pretty frustrating issue with FreeBSD. I am a Linux user who decided to switch to FreeBSD because I liked the idea of the ports system that it uses. I decided to give it a try in a virtual ...
2
votes
1answer
33 views

Scrolling is disabled all of a sudden in terminal

Sometimes I use the terminal (konsole) and all of a sudden the behaviour when mouse scrolling goes from scrolling through past output to scrolling through the history on the command prompt, and there ...
0
votes
0answers
50 views

Meaning of three dots in default terminal window in Debian

I have a debian machine, and each time when I login and open the terminal, the default window used to start up with [mgiri-deb7-64:~]1 % However, yesterday, I used putty to login into this ...
2
votes
0answers
30 views

Detach from tmux and rotate to ssh without dropping exec?

I've been using tmux launched by default as part of my shell at all times for some time now and find it very convenient. At the same time ssh'ing from inside tmux to another system is not ideal ...
2
votes
1answer
22 views

your screen size is bogus. Expect trouble

I opened terminal windows and I got a message your screen size %d%d is bogus. Expect trouble I closed the terminal and the next time I opened terminal, the message didn't show up. What is this ...
3
votes
2answers
31 views

SSH Connection - Interact with ongoing process

If i open a Terminal window on my desktop and start a job on it and go to work in the morning. Is there a way to connect to the desktop with SSH and interact with the ongoing process in the Terminal ...
4
votes
1answer
47 views

Origin of /etc/termcap linux entry

Why is there a type of $TERM called linux described in /etc/termcap? Why and when was it created and what's the point of it? Couldn't we just stay with vt-generic? Is linux just a customary name and a ...
1
vote
0answers
19 views

Running screen inside tmux

I need to run an instance of screen inside tmux because there's a script I need to run that uses a complex .screenrc to run several commands in parallel and monitor them. This works on some of my ...
0
votes
0answers
23 views

if statments within bashrc [closed]

I've got a few different terminals install on my Linux system, - terminology, terminator, ETerm, URxvt, etc. I'd like to know how to write a proper if statment that will know which terminal is being ...
1
vote
1answer
43 views

script Multiple Commands

I have a PHP script I'm running from Cron. I want to save its output to file, but also want to save the shell output to a different file. Ideally, I'd like to have this in one line. As such, I tried ...
1
vote
1answer
18 views

How to copy text of virtual terminal from graphics mode?

Linux have virtual terminals, one can switch between them with chvt 1, chvt 7 commands. Former is in the text mode, later is in the graphics mode. I want to copy all the text from first terminal, ...
0
votes
0answers
15 views

Setting anacron on mac

I set cron to run script every day using env EDITOR=nano crontab -e where I wrote something like this @daily path/to/sript.script Now I want to use anacron to be sure that script is going to be run ...
3
votes
1answer
41 views

How to erase unicode symbols in terminal?

Some symbols take up two character cells. Consider this script: #!/usr/bin/env bash echo '银^Htest' echo 'а^Htest' Output: test test How do I know their code points of fullwidth symbols? Some ...
3
votes
1answer
15 views

How to scroll while Holding Shift to copy in tmux?

I have Mouse mode set to on in Tmux so that I can make use of the scroll wheel using set-window-option -g mode-mouse on. However if I want to copy the output of a particular command which spans more ...
3
votes
1answer
57 views

Is it possible to save the output of a previous command on file?

Quite often, I'm in the following situation: I launch a command on bash (that takes lot of time to be processes) and I get a long output, which doesn't fit into the terminal and it can't be read ...
1
vote
1answer
48 views

Change default terminal emulator on Debian

I'm trying to change my terminal emulator from xterm to eterm on Debian Jessie. I can't seem to find the tty config files. I've ran: sudo find / -name tty*.conf but that doesn't yield any results. ...
0
votes
0answers
4 views

How to make ALT+F2 launch new terminal at working directory of source terminal in MINTTY?

I'm using mintty (Git for Windows v2.7 package). I can press ALT+F2 to create another terminal window, but it does not launch the shell at the current directory of the original window. It starts at ~ ...
1
vote
0answers
17 views

How to switch to another screen to run git commands while resolving conflicts (blocking command)?

Often times, I work out of a single shell when I run git commands. For example, I will start a merge: $ git merge origin/master If during this merge there are conflicts, git will "block" the shell ...
5
votes
1answer
46 views

Ctrl+c and Ctrl+z to interrupt/suspend jobs

To kill a hanging job, I use Ctrl+c, to send an interrupt signal to the hanging job. Sometimes this wouldn't stop the job, at least not immediately. I can then use Ctrl+z to suspend the job and then ...
3
votes
2answers
58 views

How do I run a command in a new terminal window in the same process as the original?

What is the equivalent of xfce4-terminal -e bash -c 'myCommand' that doesn't start a new process with the terminal, but that still opens a new terminal window for the output (which will also need to ...
3
votes
1answer
35 views

Where are characters typed into a terminal saved?

Using xterm and bash 4.3 from the (pseudo-)terminal pts/10 we type (█ is the cursor): test@debian:~$ ps PID TTY TIME CMD 13128 pts/10 00:00:02 bash 21037 pts/10 00:00:00 ps ...
0
votes
2answers
14 views

Launch top command showing all cores immediately

I know that once you run top if you press [1] you can see the load on each processor (let's forget the multi-threading issue) and if you press [s] you can configure the refresh time. How can I put ...
0
votes
1answer
13 views

tmux detach session remote

I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something. How to ...
0
votes
0answers
27 views

Is “<command> &” same as demonizing a process in Linux? [duplicate]

We all know that any command succeeded by ampersand (&) makes it run in the background. Can we use it instead of demonizing tools? For example: In order to run nodejs server, we use use packages ...
-1
votes
1answer
17 views

Lock a Application Through Terminal

I was wondering if it were possible to lock a Application through Mac Terminal. I know there's a way to lock files, using chmod a+x 000 'directory', but it never worked with an Application. What I ...
3
votes
2answers
108 views

What are the keyboard shortcuts for the command-line?

I'm talking about the keyboard shortcuts that you use in command-line/terminal. Example: Ctrl+c that kills the process, Ctrl+d that logout, Ctrl+z that send process to background... etc. I've tested ...
3
votes
2answers
62 views

How can I type a command to execute when the current command completes?

I have a function (not) that displays a notification. Hence, I can use it to show when a command is complete. sleep 5; not However, sometimes I forget to add ;not. In OS X's terminal (a few years ...
1
vote
0answers
44 views

Error “dircolors: no SHELL environment variable, and no shell type option given”

Running Linux Mint 17.3 Cinnamon A while ago a created a script that changed the colors in the Terminal (to match a tutorial I was following) However if I open the terminal on another account, I get ...
3
votes
2answers
185 views

How to know if extglob is enabled in the current bash session?

I have a bash terminal open. I want to find out whether the option extglob is enabled or disabled in this session, before I change its value. How can I do this?
0
votes
0answers
23 views

Run mate-terminal on startup as root without password

I am using Linux Mint 17. I want to run mate-terminal on startup as root without need to type password (I want it to perform automatically) and execute python script in it without closing terminal ...
-1
votes
0answers
35 views

How to install latex in linuxmint?

I have tried in terminal by sudo apt-get install texstudio. It has been showing the following message for an hour. gokulnath@gokulnath-desktop ~ $ sudo apt-get install texstudio [sudo] password for ...
1
vote
1answer
38 views

How can I use the host's keyboard for a 'remote' SSH session from a tablet computer?

The perhaps slightly odd requirement is this: I have a computer/laptop running Ubuntu I have an iPad from which I can SSH into said laptop sitting right next to it I'd like to use the iPad as an ...
0
votes
0answers
16 views

remote osx split panes in ubuntu byobu

My Problem I have OSX 10.10, connect to a byobu in ubuntu 14.04 over ssh. I want to split panes vertically & horizontally. But ctrl+F2 & shift+F2 just gives me beep sound. Additional Info ...
1
vote
1answer
45 views

shell command cd !$ [duplicate]

I looked at this question and googled, but can't find a definitive answer. What does !$ do when typed into terminal? I typed mkdir /path/to/dir cd !$ Which brought me to /path/to/dir but I still ...
0
votes
2answers
75 views

Terminal vs Terminal emulator [duplicate]

I am trying to clarify my understanding of terminal here. Terminal is actually a device (keyboard+monitor). When in CLI mode, the input from your keyboard goes directly to shell and also displayed on ...