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

0
votes
2answers
38 views

What can cause my shell to look like this? [duplicate]

I'm currently developing a home automation framework for my apartment. This involves getting JSON over Serial from an Arduino. When the JSON can't be parsed (usually only on startup) I log it as an ...
-2
votes
0answers
18 views

Writing a pseudo code to create a user [on hold]

I have created a shell script which can create users and I was wondering if someone can write a pseudo code to create a user for me I have read some websites but still don't really seem to understand ...
0
votes
2answers
35 views

How to see and use the last paths used in Terminal? [duplicate]

I'm quite a newbe. I was wandering: is it possible to see the last paths used in terminal (bash, whatever.., I use a Mac), something like what you do with recent commands? I often use the terminal on ...
0
votes
0answers
19 views

SunOS 5.10 gives invalid terminal

While I login to SunOS 5.10 through putty it shows as terminal vt100: Then what ever command I type it says invalid terminal with the command. For example if i type ls the display will be. ...
0
votes
0answers
22 views

Different vim colors and styles in Tmux and Gnome

I am using tmux, and recently found out that the same vim colorshemes inside and outside of tmux have different colors Left is tmux in gnome-terminal, right is plain gnome-terminal, gnome-terminal ...
1
vote
1answer
33 views

Save cursor position and restore it in terminal

I am playing with some terminal capabilities to create async prompt output on bash. I want to get something like this: while outputting string in PROMPT_COMMAND, save terminal cursor position, print ...
1
vote
2answers
35 views

Disable scroll inside Xfce terminal / Avoid scrolling through command history

Is there a way to disable scrolling through command history for the Xfce terminal? I don't wish to rely on palm rejection, I'd just like it disabled when I'm using the terminal. Specifically I'm ...
-3
votes
0answers
5 views

removing secure boot from usb?

USB devices were put into librarys' win 10 computer, and are now unmountable in puppy 6.3.0 and win7 unless I activate ufei - which won't allow booting. how to access and remove secure boot files ...
0
votes
1answer
68 views

Do any open source Linux terminals and fonts support ligatures? [closed]

The PragmataPro Font has some really killer examples where they render == as a single character and clean up a lot of other stuff. Would any Linux terminals support this? And are there any ...
0
votes
0answers
11 views

Trying to download new Yakuake skins on my Arch/Gnome installation, but cannot

Currently I am using Arch Linux with a Gnome Desktop Environment. Now I have chosen to use Yakuake as my terminal. I'd like to use other skins that other people have put up online for my terminal. ...
1
vote
1answer
19 views

Scrolling output with ccze

I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing tail -f something.log | ccze from an X terminal works, but I can't scroll back once the screen has ...
1
vote
3answers
37 views

add timestamps to recorded session via “script” command

In my .bash_profile I have script -a -t 0 session.log which automatically records all terminal input/output into the session.log file. I know this command comes with an optional flag to record the ...
0
votes
2answers
26 views

How to suppress debug2 messages during SSH session?

When I am logged into my home Linux machines via SSH, I get the following debug output a few times every minute: debug2: channel 0: request window-change confirm 0 When I am editing files in nano, ...
0
votes
1answer
25 views

Source ~/.bashrc when using the shell recorder `script`

I am using the first answer from How to automatically record all your terminal sessions with script utility to record my terminal sessions, however, I can not figure out how to get my bashrc to be ...
2
votes
1answer
29 views

.desktop file for ncurses application

I am trying to create a .desktop file for the calcurse ncurses calendar application: [Desktop Entry] Version=1.0 Type=Application Name=calcurse Comment=an ncurses calendar TryExec=calcurse ...
1
vote
2answers
39 views

How do I send a notification to all active shells, like shutdown does?

You know, I was just there, doing my things, when suddenly a terrible Broadcast message appeared! fiatjaf@mises ~> sl fiatjaf@mises ~> ls dotfiles/ urxvt vim/ vimrc fiatjaf@mises ~> cowsay ...
0
votes
0answers
18 views

Possibility to write some words in different color in log file [duplicate]

Is there a possibility to colorize words in a log file? I want to have the word ERROR in my logfile always in red, to see it more easily. I watch it with the tail function: tail -f -n 500 ...
0
votes
1answer
36 views

Some keys don't work in console (tty), but work in a terminal emulator [duplicate]

When I am am in virtual terminal and open my editor, I can use editor key shortcuts such as CTRL + Down and CTRL + Up to select lines (select block), or F5 and F6 to copy/move the selected block. ...
4
votes
1answer
48 views

Make screen work like a terminal (scrolling + alternate screen) [duplicate]

I would like to use screen (from GNOME Terminal, via ssh) like I use GNOME Terminal without screen, or as close as possible to that. Specifically: In GNOME Terminal, I can scroll back using the mouse ...
1
vote
1answer
11 views

ClamAV check infected file

I ran clamscan --bell -r / and in the end it returned me Infected files: 1 now is there any way to check which file is infected (i.e. a log file)?
1
vote
0answers
27 views

Do light color codes work across all distros and terminals? [duplicate]

I use \033[1;34m for light blue. I am using Debian and Putty and it works for me. However, I've heard that it may not work for all users (using different distros and terminals). Is that true? Do they ...
9
votes
3answers
605 views

Piping a command through a color filter

Does something like this exist in Unix? $ echo "this should show in red" | red $ echo "this should show in green" | green $ echo "this should show in blue" | blue Here I don't mean for literal ...
0
votes
2answers
35 views

How do I make the terminal background bright white?

I am using: setterm --foreground blue --background white --blink on The result is that the text is blue on bright white. However, the background around the text is grey. How can I make the entire ...
1
vote
2answers
58 views

How can a command in a pipe read from a keyboard? [duplicate]

I randomly tried to execute the following command in bash1 cat /some/file | ssh user@machine 'cat >/destination/file There are no keys installed on the remote machine, so the only way to ...
1
vote
0answers
24 views

ncurses over ssh (osx -> linux) freezing and unresponsive

I'm using linux perf_events and sometimes am having trouble with the perf report (which is an ncurses terminal application) view freezing up. I'm interacting with a remote linux server which is ...
0
votes
1answer
18 views

Mess with an export PATH

I have tried to include INTEL PARALLEL COMPOSER to my .bashrc.But something went wrong.Now I can not use gedit or vi editor. milenko@milenko-HP-Compaq-6830s:~$ gedit .bashrc Command 'gedit' is ...
2
votes
0answers
23 views

xfce4-terminal: keyboard shortcut to set terminal title

How can one set a keyboard shortcut for an instance of xfce4-terminal? It appears that the Terminal->Set Title menu does not have a shortcut tooltip, and I would really like to keep my open terminals ...
0
votes
2answers
36 views

Command to merge all terminal windows?

Is there a terminal command that merges all open terminal windows into one window with tabs? Been searching all over the place, but have yet to find any solutions.
-2
votes
0answers
49 views

Why are multiple instances of /usr/bin/X running at once on Linux Mint 17.3

I believe this process is the X server. Why are there 4 instances of the following process running at once? Is it normal? EDIT: Is it normal on a fresh install for the x server to have these ...
1
vote
1answer
41 views

How to get `yum list` output to stay on one line when getting output via remote ssh command?

When I SSH to a machine with ssh machine and run yum list it outputs everything that's installed as expected, and importantly every item is on one line like so: xz-devel.i386 ...
0
votes
1answer
27 views

(ls) command won't show exact size - Weird output [closed]

I am trying to find the size of the files on my hard drive in exact bytes, but whenever the size gets too big the number turns all weird (like 1.98329e+12). Can I stop it from doing this or convert ...
1
vote
1answer
37 views

Reopen Terminal windows after restarting

In Mac, if I have a few Terminal windows open and I restart the computer or quit Terminal, the windows that were open last are opened again with their working directories and command histories ...
2
votes
2answers
70 views

Why does “head /bin/ls” reset the terminal

If you do something silly like cat /var/log/wtmp your terminal can get messed up as shown in the screenshot. I know there are a number of ways of fixing this. One of the ways not mentioned on that ...
4
votes
3answers
58 views

Is there any objective benefit to escape sequences over tput?

In people's '.*rc' files I see online or in various code, I tend to see a lot of people who manually use ANSI escape sequences instead of using tput. I had the understanding that tput is more ...
0
votes
1answer
30 views

Display output from command and save to file [duplicate]

If I wanted to save output to a file from a command like make, I would do: make > out.txt However that stops the output from being displayed on the console window, and only saves to a file. Is ...
1
vote
2answers
48 views

Is there a program like tmux or screen but only for attaching or detaching a session

I was wondering if there was a program like GNU/screen or tmux that would allow me to attach or detach a session with a running process but would not provide all of the other features such as windows ...
3
votes
4answers
74 views

How can I save the output of “echo -e '\e]4;40;?\a'” into a variable, or pipe it?

Inspired by this forum post, I ran this command at a Bash prompt: echo -e '\e]4;40;?\a' Which outputs: # 4;rgb:8b8b/cdcd/0000 But the weird thing is, the output somehow becomes my prompt's next ...
0
votes
1answer
12 views

Less quit behavior

I'm not sure how to describe this but I'll try by comparing it to vi. When I open vi, do something, and then exit vi it brings me back to the terminal where I can see all of the commands I had ...
1
vote
0answers
69 views

How to start a phone call from the terminal in Ubuntu Phone?

The ability to start a phone call from the terminal is mentioned in this transcript of a Q&A-session with the Canonical community team. So - did somebody figure out, how to do it? The terminal ...
1
vote
1answer
19 views

Reserve pts range for some users

Is possible to reserve pseudo terminal range ids for some users ? Consider an user which should get preferable (or exclusively) pts id from 500 to 600, other from 0 to 400, and so on.
-2
votes
0answers
14 views

Will zip -r command on remote server be cancelled if I exit terminal? [duplicate]

I have done a lot of Googling, and cannot find an answer. I have made a "zip -r home" request on my server via my terminal. The home directory is over 30GB. I need to leave the office at some point ...
1
vote
3answers
68 views

How can convert characters into characters that'll produce beep noises?

I'm new to Linux and have recently started working on my very first (very simple) project - a morse code generator. I've been able to get the translation working, and now I want to take the next step. ...
-4
votes
2answers
27 views

Create a text file with spaces and sentences stored inside and make a copy of text file

How can I create a text file called ‘example text file’ (with spaces). Write a few sentences to store in this file. Make a copy of file with a different name.
-3
votes
1answer
33 views

What is the purpose of this command ls -l> /testA921/file [closed]

What is the purpose of this command ls –l> /testA921/file?
-2
votes
1answer
43 views

Explain, using examples, the purpose of the bin directory is my answer suitable for this question?

I have looked at similar questions which already have answers but still not entirely sure on the answer. In addition I don't won't to copy someone and thats it I want to understand the answer. Here ...
1
vote
1answer
72 views

Strange character overlap in terminal

I'm using bash version 4.3.42(1)-release in an ArchLinux/Gnome environment. When I type my commands some of the written characters gets transformed in some weird ones. Overall, all displayed text ...
0
votes
0answers
12 views

How to hide the tab bar in roxterm?

In roxterm when I go to edit profile under tab I activate hide tabs but they are still appearing when I create a new tab or window. Any idea on how to hide tabs under roxterm ?
-2
votes
1answer
29 views

How do I check if a user has been created? [closed]

How do I demonstrate that these users have been created and are assigned to their a certain group? Can I do this by the command line or do I have to do it by the GUI (graphical user interface)
0
votes
0answers
25 views

Is my answer correct on what is the difference between ls > list and ls >> list [duplicate]

What is the difference between the commands ls > list and ls >> list? Is my answer correct? As my answer I have put the following. The command ls > list creates a new file named list and ...
1
vote
0answers
24 views

Is there a command to list the users which user or root has created? [duplicate]

Is there a command where which I can input into terminal to list the users which have been created by a user or root? I don't want to use the GUI interface I'm wondering if there is a command.