Questions tagged [linux-terminal]

The Linux Terminal (also called console) is a wrapper program which sends user input to the shell and outputs the result after the command have been processed.

108 questions
73
votes
2 answers

How to prevent a command in the zshell from being saved into history?

In Bash I know putting a space before a command prevents it from being kept in the history, what is the equivalent for the zshell?
bneil
  • 1,967
  • 3
  • 16
  • 20
63
votes
3 answers

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ubuntu 10.04 lts.
fazpas
  • 1,583
  • 3
  • 18
  • 18
45
votes
4 answers

How to run programs from a linux terminal without blocking the terminal?

When I start a program from a terminal I can't use that terminal instance again until I close the program. Is there a way to execute a program/application from a terminal without blocking the terminal until the program ends?
ueaiox
  • 453
  • 1
  • 4
  • 4
37
votes
14 answers

Google Search from Linux Terminal

I saw a Google console app someone wrote a while back, but it was actually a website emulating a console. What I'm after is a shortcut or Linux terminal app which I can use to quickly search Google. Ideally, it will show the top 10 search results…
Dean Rather
  • 2,657
  • 9
  • 32
  • 41
34
votes
1 answer

Keep Session with Terminator

I am using Terminator for multiple Terminal Sessions. I know I can start with custom Session layout but most of the time I have changing Session settings. Is it possible to save the current Session with terminator? For example if I shutdown the PC…
Denny Mueller
  • 449
  • 5
  • 7
34
votes
4 answers

bash save history without exit

in linux ubuntu bash terminal. is there any way to save bash history without writing exit? i've set the config to "HISTCONTROL=erasedups" which in my opinion works better than ignoredups. anyways for some reason it wont save the last few commands in…
ColacX
  • 1,291
  • 2
  • 13
  • 16
33
votes
4 answers

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i requires an annoyingly additional "" argument. Also, it…
TheOne
  • 1,365
  • 4
  • 17
  • 25
28
votes
4 answers

How do I copy a link in Lynx?

I'd like to copy the current link to the system's clipboard or write it to a file. If it isn't possible, I guess I'd have to settle with opening it in an external browser (which I was avoiding in the first place, thus using Lynx), and then copying…
Nikki Erwin Ramirez
  • 2,356
  • 3
  • 24
  • 30
23
votes
3 answers

How do you output a QR code to the linux cli terminal for scanning?

I want to be able to output a QR code to the ubuntu cli terminal where I can scan with my phone. I have a configuration file I want to convert to a QR code so I can scan it vs having to transfer it over a usb drive. Many of the google results only…
Patoshi パトシ
  • 2,809
  • 5
  • 25
  • 39
20
votes
6 answers

Using Ctrl or Alt AND backspace to delete last word in Bash

In Linux I'm used to press Ctrl-Backspace to delete the last word but I don't know how to do it in Bash terminal. In OS X I use Alt-Backspace to do the same thing. Is there any way of making Bash recognize the Ctrl- or Alt-Backspace key combination…
licorna
  • 541
  • 2
  • 4
  • 12
16
votes
3 answers

Script or launcher to setup multiple terminal tabs in different locations

I have already studied this some time ago, but did not find any solution that would open terminal tabs, run some commands and then allow me to continue using those terminal tabs. All the ways I found launching terminal tabs from command line would…
user232548
  • 261
  • 1
  • 2
  • 4
16
votes
4 answers

How to switch to non-graphical view in ubuntu?

I've recently installed Ubuntu. It's graphical; how can I switch to command-line mode so that everything is to be typed, like DOS?
15
votes
7 answers

How to turn on/off leds by terminal?

I would like turn on/turn off some of my leds running a command on linux. I use Ubuntu 12.04 LTS. I tried xset led named "Scroll Lock" xset led named "Num Lock" xset led 2 (this is the number of Scroll Lock as `xset q` says) xset led…
GarouDan
  • 585
  • 3
  • 7
  • 19
9
votes
3 answers

Highlight a single word *always* in a terminal

Is there a terminal emulator (like GNOME terminal) for linux/unix out there, which allows for highlighting a single word always (such as "highlight the word FAIL in red")? Or maybe is there a plugin for the GNOME terminal (if such a thing like…
scravy
  • 193
  • 1
  • 6
8
votes
5 answers

Why is unmute not working with amixer command?

I am trying to mute and unmute using amixer command at terminal in Linux. The command used to mute: amixer sset 'Master' mute AND amixer set Master mute Both worked... But when I try to unmute: amixer sset 'Master' unmute AND amixer set Master…
lcsvcn
  • 255
  • 1
  • 2
  • 7
1
2 3 4 5 6 7 8