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
0answers
18 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
32 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
59 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
63 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
36 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
37 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 Exec=...
1
vote
2answers
47 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 catalina....
0
votes
1answer
51 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
80 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
15 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
643 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
48 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
72 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
43 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
25 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
33 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
47 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.
1
vote
1answer
51 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
37 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
75 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 ...
3
votes
2answers
85 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 ...
5
votes
3answers
85 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
58 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
66 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
96 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
18 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
1answer
110 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
21 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.
1
vote
3answers
94 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
36 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
39 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
45 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
176 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
1answer
31 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
40 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.
1
vote
1answer
115 views

Why xfce4 terminal colors are so ugly? [closed]

Hello I have a big problem, I'm trying to install some nice color themes on fish and vim but it looks like that my xfce4-terminal has some ill looking internal colors. I installed gnome-terminal to ...
-9
votes
1answer
52 views

Unix “ls” command? [closed]

Can someone explain to me what are all the options available with the -la flags for the ls command ? I have read the man pages, but still not sure.
-1
votes
2answers
32 views

How to set 256colors in xfce4-terminal 0.6.3 that is using the fish shell, always for all users

How to set 256colors in xfce4-terminal 0.6.3 that is using the fish shell, always for all users ? Can't find this info anywhere and it's getting hard.
0
votes
1answer
45 views

How does Raspbian draw images on the terminal?

When you turn a Raspberry Pi on, it displays three (or four) pictures of raspberries in the top-left corner of the screen. Now, as far as I know, you cannot draw images or any other non-text content ...
3
votes
1answer
128 views

Does “color” in TERM always mean I can use colors?

Should the following always indicate that I can use escape sequences and tput to colorize things? if [[ $TERM == *"color"* ]]; then true else false fi
1
vote
0answers
15 views

how to set up the format of a title of the tabs of Terminator?

I can't find any method of how to set up the format of a title of the tabs of Terminator. it's probably has to do with its config at ~/.config/terminator/config but how exactly? I want to shorten ...
0
votes
1answer
32 views

Giving a user permission to modify/edit/delete files in “/” directory (Not using Terminal, but with File Explorer)

I'm currently having an issue trying to give a user the permissions that the 'root' user has, which is to modify anything in the / directory. I've changed the /etc/passwd file but still no luck. I've ...
3
votes
2answers
125 views

How to create an X window which won't close by any way other than a terminal command

I'm trying to create a process that will start with X11, will be graphical and unkillable by my own user. More specifically, I have an urxvt drop-down terminal starting at startup and running a tmux ...
5
votes
2answers
257 views

How is the su command masking/protecting my password from being displayed on screen? [duplicate]

Apologies if this is an abstract question - I'll try to be as specific as possible. When I'm at the bash shell and switch to a different account via su - foo, I'm prompted for a password. The ...
2
votes
1answer
57 views

How to substitute one color code for another in terminal?

Can I make bash automatically substitute one color code for another? For example, whenever a program outputs text wrapped in color code for bold foreground, I would like bash to actually use code for ...
0
votes
1answer
42 views

How to overwrite the default shortcuts of the terminal in xfce?

I have xfce installed and use xfce terminal. I can't figure out how to overwrite the default shortcuts so that I can use Ctrl+C(V) for copy/paste in the terminal. So far in other desktop environments ...