The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
5answers
611 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 ...
2
votes
1answer
48 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 ...
0
votes
1answer
23 views

Add output of script to file after it has run

I run a script: python my_script.py. It outputs a bunch of lines in the terminal. I forgot to use the output command: python my_script.py > file.txt. Is it possible to get the recent output to the ...
0
votes
0answers
14 views

Audio Output Not Listing Motherboard Output

I'm having problems with audio input and output. I have headphone and microphone audio ports on my motherboard, however they're not available in the sound settings: Audio Problem Image Does anyone ...
3
votes
1answer
30 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 ...
1
vote
1answer
71 views

How to copy all current output in Terminal to a file when too large for clipboard after it has already been outputted?

I have a slight problem at the moment, I have a large amount of output in a Terminal (gnome-terminal) at the moment, so large in fact that the clipboard won't take it... So I wondering if there is any ...
3
votes
1answer
53 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)? ...
0
votes
1answer
85 views

xrandr: S-Video TV display problems

I'm having some troubles with xrandr and S-Video/Composite output in Ubuntu 14.04. Right now I have 3 displays plugged into my computer: VGA, DVI, and TV (S-Video/Composite, not sure about the ...
3
votes
2answers
73 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 ...
1
vote
2answers
34 views

How to stop an application from outputing sound?

I have an application which makes a lot of noise, and there seems to be no way of turning off the noise it makes (it plays some music while running etc), so I was wondering if I can just make it so ...
0
votes
1answer
43 views

Command to output lines in file in alphabetical order?

I have a file containing one word per line. How can I print out each line in alphabetical order - ie. the first letter of each word decides the order?
1
vote
0answers
38 views

udevadm test for net devices

I am trying to dump the udev env to see my %M,%m and %k values (I am not happy with udevadm info -a) For that in the RUN I write to a file under tmp/ as mentioned here: ...
1
vote
2answers
96 views

Running “dpkg -s” or “-l” silent

I am writing a script that checks for a very big list of dependencies. So I wrote a function that gets the package name as input and using dpkg checks if it is installed and prints an appropriate ...
0
votes
0answers
32 views

Play audio from another device from input port

I have a Xubuntu 15.10 desktop computer set up to really good speakers. In the back I have a 3.5 mm line in port. I already know how to record incoming audio with pulse audio changing the default ...
1
vote
1answer
62 views

How to allow scrolling to view complete command output in the command-line?

An example: When I enter compgen -c to view all possible terminal commands I get something like this: ll ls which if then else elif fi case esac for select while until do done and quite a bit ...
0
votes
0answers
49 views

All my output devices are Missing, maybe becouse Ardour. In Ubuntu 15.04

I have installed Ubuntu 15.04, and all was good, until I install, proved, and uninstall Ardour 3. Then, after a few hours, go to play a video and I realized that isn't playing the audio. I went to the ...
0
votes
0answers
56 views

sound output selection - set output device to default

tried looking for this but only seen people ask for the opposite of what im looking for. I am trying to set my speakers as default for all audio sources, currently i can set each application to use ...
0
votes
1answer
44 views

Help using GNU Screen to output text

Hi :) I was wondering if you guys could help me figure something out... Im trying to make a startup script for Spigot server and I want it to start a screen session called "minecraft" and then write ...
3
votes
2answers
169 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 ...
1
vote
1answer
62 views

Dummy Sound on Asus X550JK on ubuntu 14.04

I've got a problem with the soundcard on my Asus. In sound settings I've got an dummy output against the built-in speakers. When I execute aplay -l in the terminal, I recieve aplay: device_list:268: ...
0
votes
0answers
63 views

Can't use optical audio out

I have an amp connected to optical audio. It works in windows perfectly, however in ubuntu it plays no sound when testing in sound settings "Digital Output(S/PDIF)" which at least tells me it's ...
0
votes
1answer
147 views

Change framerate of mp4 video without reencoding using mp4box and piping

I'd basically like to do what this guy asked for. Using the lines of Mitch I get a perfect result. I'd now love to use the output of mp4box directly as input of mp4box again (to make one command out ...
2
votes
1answer
308 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 ...
0
votes
1answer
84 views

Change audio output socket on Ubuntu 15.04

My output audio socket is broken. In Windows I can change sockets input and output with "Realtek". Is there a way to change audio sockets on Ubuntu 15.04?
2
votes
1answer
215 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 ...
2
votes
1answer
105 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 ...
4
votes
6answers
846 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 ...
2
votes
1answer
68 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 ...
0
votes
1answer
90 views

Is there a way with sox to trim parts of audio file with volume under a certain level?

I have an audio file and I want to delete the parts of this audio file that have less than a certain level of volume. Is that possible with sox?
0
votes
0answers
17 views

Sound output turns off after clicking on video or live cam

When I click on any video or live cam the sound goes off after a few seconds. I can reboot to get sound back, but still goes off after a few seconds. I just upgraded to Ubuntu 14.10.
0
votes
0answers
50 views

How can the outputs of sounds be set by command in PulseAudio?

I'm trying to automate the setup process needed to pipe the output of Festival speech synthesis into Skype for the purposes of allowing a person who cannot speak to have a synthetic voice on Skype. I ...
1
vote
4answers
156 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
1answer
1k views

Different applications, different sound output devices

I would find it really useful if I could make it so that music I am playing on YouTube in Chrome comes out of speakers, and the sound from other applications comes out of my earphones, so I am ...
0
votes
2answers
396 views

Open a file at a certain position and read one byte in bash

Since two persons already voted to close this post, I'll try to make the question as clear as possible. A file on a physical device is represented as a binary sequence. That being said, what I need to ...
3
votes
2answers
454 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: ...
2
votes
1answer
250 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 ...
0
votes
1answer
1k views

At least one output file must be specified ffmpeg

ffmpeg -i oceans.mov -an -c:v libx264 -r 24 -preset fast \ -profile:v baseline -g 64 -keyint_min 64 -b:v:0 230k -maxrate 250k -s:v:0 304x128 \ -x264opts pic-struct:no-scenecut -movflags ...
1
vote
1answer
141 views

I have a WiFi problem, what commands do I need to run so I can be best helped? [duplicate]

I am trying to ask a question about getting my WiFi to work but I don't know what information to add to my question to get help, what do I need?
0
votes
3answers
285 views

Is it possible to show the output on terminal while writing the output of a command to a file? [duplicate]

I am running a command say nmap www.somesite.com>file.txt so that i can get the output to file.txt. But if I do so, I am not able to see the output of that command on terminal. Is it possible to ...
3
votes
2answers
2k 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 ...
0
votes
1answer
249 views

Headset appearing as only input, tried so many things to fix and out of ideas. ubuntu 14.04

I have searched googled for a very long time, I am about ready to start pulling my hair out. I have headset with built in mic, no matter what USB port I use it only shows as a Mic in Sound Settings ...
0
votes
1answer
190 views

Why doesn't redirecting output from nginx work?

I want to list all modules of nginx server by line, so I type the following: nginx -V | tr -- - '\n' But it doesn't put modules in lines. If I do it like this: 2>&1 nginx -V | tr -- - '\n' ...
0
votes
1answer
2k views

How can I save lines from terminal to a text file?

I made a simple bash script that pack a file and then upload it, if everything is fine I am getting some http:// links to my stuff as output I want to know how can I copy those links automaticaly to a ...
0
votes
1answer
21 views

play sound on different outputs, based on what display its the “player” is displayed on?

Is there any way to play sound on different outputs, based on what display its the "player" is displayed on? E.x if its played on the computer screen it uses analog output, but if its displayed on ...
0
votes
1answer
307 views

Blank screen after login

I think I know how I got here. I was trying to get audio working and issued the command sudo apt-get remove --purge alsa-base pulseaudio It seemed like it was removing a lot of packages I did ...
4
votes
2answers
777 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 ...
0
votes
2answers
166 views

How to save output to file that required root access [duplicate]

I want to save output of command to a file that my current user do not have access to. But my user can have root access using sudo. I'm running for example: sudo crontab -l > /var/BackUp/crontab ...
0
votes
1answer
107 views

How to turn off headphones, and only leave enabled analog output?

How to turn off Headphones, and only leave enabled Analog Output? (Ubuntu 14.04)
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 ...
2
votes
1answer
65 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?