The tag has no usage guidance.

learn more… | top users | synonyms

37
votes
2answers
23k views

How to record output to speakers?

Is there a program for Ubuntu 12.10 that can record sounds of only the output of the speaker and not any voices from outside the PC?
13
votes
4answers
4k views

Output URL of open firefox tabs in terminal

I would like to find out the URLs of the currently opened firefox tabs with a terminal command. Is there any possibility? This way I would be able to write them into a text file and look at them ...
12
votes
2answers
19k views

How to Pass/Record audio output as an input device?

I used to use a mixer of some kind and I can't remember which... I would like to record audio from the output, without leaving the computer. I remember in the Juanty days you could easily enable ...
9
votes
2answers
14k views

How to echo output of a top into a text file?

I want to write batch or something, that will write output of top into a file on login. I did top >> output-file, but it contains some strange character! Can somebody give a simple tutorial ...
8
votes
3answers
2k views

Where does Juju store a log of all commands run and their output for each unit?

Sometimes when deploying a service (and more specifically a new unit) for a Juju charm, an error occurs and there seems to be no way of finding out exactly what it was. Is there some sort of output ...
7
votes
6answers
5k views

How to get and copy a too long output completely in terminal?

In terminal a command has a too long output. But when I scroll back I see it is truncated and only the last part is shown. In Gnome-Terminal and Konsole I have this problem. In xterm there's not such ...
7
votes
5answers
2k views

Why can't i choose output sound for each application?

I am using dual monitors, and i want to be able to play a movie with sound on the TV (through vlc or something) and then play youtube og some games with my headphones on my laptop. Is there anyway i ...
6
votes
1answer
3k views

how to get output of a script/program into a file?

I am compiling a program using make and want the output of make to be written to a file. I have tried using > operator like make > build_log.txt and using tee command like make | tee build_log....
4
votes
6answers
900 views

Create Random non words [closed]

dd if=/dev/urandom of=a.log bs=1M count=2 Question: if this code ^ gives me random numbers, how can I get random non-words (unintelligible) such as “hgcqw”. Question 2: Can the shuf command be ...
4
votes
1answer
519 views

How can I monitor the output of an already running program?

I am trying to figure out what is going on with pulseaudio on my computer because almost every 20 seconds of listening to a song it freezes. I've tried killall pulseaudio && pulseaudio to try ...
4
votes
2answers
854 views

How to combine multiple text files into one text file ordered by date created?

I'm a newbie so please help: I keep a journal on my iPhone using Scratch that outputs all notes I make to a separate .txt file stored in Dropbox. I have this synced with my Ubuntu 14.04 system, so ...
4
votes
2answers
1k views

Where is the output of a Terminal (Gnome Terminal) stored

First of all, this is not a question about history, which stores all the entered commands. I have on my workstation at work several open Terminals from which I launch simulations, examine the output ...
4
votes
2answers
760 views

pulseaudio not monitoring any audio output (i.e., ProjectM cannot work properly)

I've got an Acer Aspire TimelineX 3830TG with LUbuntu 12.10. Sound is working ok with all programs, but ProjectM Visualization is not. In pulseaudio preferences i can choose the analog or digital ...
4
votes
0answers
2k views

Ubuntu 13.04: dummy output after reboot [closed]

I have got problem with audio (Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller as lspci says) on my laptop hp probook 4530s with Ubuntu 13.04 and ...
4
votes
1answer
3k views

Help Getting HDMI Output with Bumblebee

Running Ubuntu 12.04 64 bit. Gnome Shell as interface. Graphics card of nVidia GT555M. Drivers - Bumblebee and not nVidia's. Can get great VGA support (which is also on card) and optimal screen res....
3
votes
3answers
183 views

How do you extract a particular column or row from the output of a command?

Example: abcd@abcd-abcde:~$ xinput --list --short Virtual core pointer ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] ↳ Logitech USB RECEIVER id=12 ...
3
votes
2answers
555 views

Why does gzip on tar output always produce different results?

What I expect from two commands which always produce the same output on their own, is them to always produce the same output when put in a pipeline, but apparently this is not the case for tar | gzip: ...
3
votes
2answers
125 views

Logging script output to a file

I wrote a simple script to monitor my gpu clocks and temps. I wanted it to, aside from being visible on the terminal, log its output on an external file. How could I achieve this? My script below, for ...
3
votes
1answer
355 views

How to mark matching GREP string while redirecting output to file

I am trying to use grep to find all matching strings in file and output them, in context of the line, to another file, while adding some kind of marks (ideally two asterisks) on each side of the match....
3
votes
2answers
3k views

How to get the Input and output in a terminal to a text file? [duplicate]

I want to create a text file which will add each command I am going to run on the terminal as a new line entry in the text file. i.e., I need to keep a record of what are the things I'm doing in the ...
3
votes
1answer
8k views

Save hourly file from cURL response

I am following along with Twitter's developer and want to do a very basic call against their filter real-time API. The code below almost gets me there: curl -s -u twitterusername:twitterpassword ...
3
votes
1answer
35 views

Viewing output of --help of any command in one screen

I am using a virtual machine. It's display is very small. When I use the following command output goes out of the screen and I cannot view previous content that came from output openssl --help I ...
3
votes
1answer
137 views

How to avoid horizontal scrolling in “systemctl status”?

In a long line in systemctl status it's necessary to scroll horizontally which makes it quite hard to copy the output. Is there a way to get linebreaks at the end of terminal (like nano -$ would do)? ...
3
votes
2answers
269 views

Seeing the output of an already running program?

When I start the program in the terminal I see the output. I can Ctrl+C my way out of it to use the terminal again, but is there a way to get the output of it into the terminal again? I am aware that ...
3
votes
1answer
2k views

How to fix a gstreamer error

I upgraded to 14.04 and now gstreamer is not working. What I am trying to accomplish is to hear the audio input on my computer coming from a ham radio. This is the command that I am using: gst-launch ...
3
votes
2answers
5k views

Redirect stdout to file and stderr to file and to screen

I am running valgrind to shake out bugs in my program. Valgrind's memcheck prints to stderr. What I want to do is a modification to this: valgrind --tool=memcheck ./a.out >output 2>grindout But, I ...
3
votes
1answer
307 views

Xubuntu 14.04 disables video output when disconneting / reconnecting a HDMI monitor

On Xubuntu 13.10 when I disconnect a screen connected on the HDMI output of my computer and then reconnect it, the signal directly comes back to the screen and I can continue to work. On Xubuntu 14....
3
votes
2answers
357 views

Is it possible to direct system monitor output to a file?

I want to save to a text file the CPU and memory usage real-time info displayed in Gnome System Monitor 3.6. Does anybody know if this is possible? If so, how can it be done? If it's not possible with ...
3
votes
1answer
739 views

Lenovo X1 - HDMI Output

I'm facing problems with HDMI output to my TV (Ölevia HD-TV). When I connect HDMI cable computer / tv I can see the detect each other, and on display configuration I can see the other display, but for ...
2
votes
3answers
853 views

If statement in C isn't evaluating the conditions [closed]

Ok, so I'm new to Ubuntu and Linux OS. So far I'm loving it, specially the CLI. I also like programming but I'm a self learner, pretty new in this too. I wrote a small program using VIM and compiled ...
2
votes
2answers
297 views

Print command result side by side

It is possible to print the result of 2 commands side by side... Something like this something `ls -l /a` `cat bla.txt` result: total 24 #while [ 1 =...
2
votes
2answers
193 views

Long terminal output;time consuming code; no forethought

I am running a rather complex python script in Ubuntu 12.10 for the last seven days. It must have generated atleast 20k lines of output on the terminal till now but not all of it is visible. I didn'...
2
votes
4answers
17k views

Using grep, awk, etc. to filter command output

I'll use route as an example. route -n The above outputs routing information. The top row is your active connection. I can manipulate the output to only the second column by doing: route -n | awk '...
2
votes
1answer
264 views

How can I archive dd's output directly possibly without using any compression?

It has been determined already in this question that tar cannot read input from stdin. How else can a dd output be archived directly possibly without using any compression? The purpose of doing ...
2
votes
2answers
340 views

How to make my 19" monitor default display output when I connect it to my netbook? [duplicate]

Possible Duplicate: How can I set external monitor as default? I am new to Linux, so I am still learning tricks and ways of personalisation. I have Asus Eee PC 1015PEM netbook and 19" ...
2
votes
1answer
469 views

How can I choose the audio output device using the terminal?

I have a digital headphone set and an analog pair of speakers. Is there a way for me to switch between them in the terminal in Ubuntu? I ask that because I would like to create a keyboard shortcut for ...
2
votes
2answers
3k views

How can I modify the pitch of my audio output?

I would like to modify the pitch of my audio output. I know you can use software such as PlayItSlowly to listen to an audio file and alter the pitch in the process, but what I am looking for is a way ...
2
votes
3answers
636 views

Recording output while listening to it

I've tried to record the output of my acer laptop, using audio recorder and outrec. But for some reason, I'm able to do so, just when I change my sound profile to digital stereo duplex, and then I'm ...
2
votes
1answer
114 views

Sounds work only on USB

Please help me and give a shot to this post, I am running out of solutions. I am beginner in Ubuntu/Linux and I installed Ubuntu for this reason: to learn it and to use it as my main OS and I don't ...
2
votes
1answer
73 views

How to scroll down vboxmanage output?

When I type the vboxmanage command I get a sort of manpage output, where it shows all the information at once. How can I view the info incrementally like less/more commands with files?
2
votes
1answer
158 views

I have error message connecting a monitor to my netbook

I want to connect my Lenovo S205 Netbook with a 1080p monitor, however the only way to get it to work is by Mirroring the Display. I would like to use the top display at 1080p. My attempts ended ...
2
votes
1answer
316 views

How to return to normal display after HDMI disconnect?

After I disconnected my TV by pulling the HDMI cable, Ubuntu did not return to the right graphics mode. There is only the background, no launchers or icons, however I can open a menu by right clicking....
2
votes
1answer
122 views

Flush Terminal Buffer?

I have a (proprietary) program which I start with ./program -a asdf in the Terminal. When I do that, I can see all the output at the right time. However, when I want to use the programs' output in a ...
2
votes
1answer
71 views

Change Audio Output via Speaker Symbol

Is there a way to change the Audio Output (and for the sake of completeness the Audio Input) conveniently via the Speaker Symbol of the Top-Bar of Ubuntu? Just like I can change between Wifi networks,...
2
votes
2answers
877 views

Audio switches between headphone and output

On my Xubuntu 13.04 installation, when the sound is turned up to high levels (>50%), it begins to (randomly?) fluctuate between loud and quiet. In pavucontrol, the port setting is fluctuating between "...
2
votes
0answers
373 views

No audio outputs showing up, audio output is working

I'm running Ubuntu 12.04 LTS on an HP G60-458DX. When I installed Ubuntu, all my audio outputs (HDMI, Analog, Digital, etc.)would show up under Sound Settings. However, recently, all these have ...
2
votes
0answers
189 views

No sound except with Flash Player in Firefox. Sound App only shows “Dummy Output”

Using a Dell 8400 with an AC97 type soundcard. Ubuntu 12.04 (3.2.0-32-generic-pae) Everything is updated. I only get audio through my soundcard when using Adobe Flash Player for Firefox. Nothing else ...
2
votes
0answers
182 views

How can I merge rear and front audio outputs in one? [duplicate]

Possible Duplicate: Why can I hear only a few audio channels when playing video files? I have Ubuntu 11.10 amd64 When I plug headphones into the front audio output - rear output stops working....
1
vote
4answers
165 views

Add terminal output at the bottom of a text file [duplicate]

I am using: command > ~/Desktop/file.txt My problem is that I need to execute this command multiple times, and each time It will give me different outputs, in this moment each time I run it It ...
1
vote
5answers
3k views

bash shell output history file location

Where does the bash shell store the actual terminal session? I want to read the output of commands I used before. All I can find googling is how to store the output of a command. Since output is ...