The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
43 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 ...
0
votes
2answers
25 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
36 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
22 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
48 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
24 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
37 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
39 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
42 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
43 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
118 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
58 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
45 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
112 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
277 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
75 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
153 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
92 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
780 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
60 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
66 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
16 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
46 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
125 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 ...
0
votes
0answers
145 views

Missing vidio on samsung TV

Complete novice (72yrs) trying to play vidio from Kodi on Samsung laptop (NP350) (using Ubuntu 14.04) to Samsung Smart tv using HDMI cable Vidio plays on laptop OK but TV only shows startup screen ...
1
vote
1answer
740 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
353 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 ...
4
votes
2answers
377 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
233 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
121 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
205 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
218 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
162 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
1k 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
20 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
250 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
688 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
152 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
99 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
894 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 ...
3
votes
1answer
61 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?
0
votes
3answers
220 views

why pipes are used instead of input redirection

I'm new to linux systems and I can't really understand why wee need two operators that can redirect output: pipe as | and ouput redirection operator >? Can't we just always use the second? Most of ...
0
votes
1answer
64 views

No audio output in ubuntu 12.04.4 lts

I have ubuntu 12.04 lts and my aufio output suddenly stopped! I have an HP ProBook and the audio output from the internel speakers stopped but if there are external put ispeaker then the output is ...
0
votes
1answer
809 views

No sound output to USB headset

Control centre then sound then Alsamixer then F6 and option 2 is my Plantronics headset. I choose it but nothing seems to work I am on new install of lxle v12.04.4 32bit All works fine in Windows XP I ...
3
votes
1answer
1k 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 ...
2
votes
1answer
374 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 ...
1
vote
3answers
4k views

How to Automatically save terminal command output to file [duplicate]

Is there a way that I can save the terminal command output to a file, without having to write the command ' | tee /abc.txt' every-time around?
0
votes
2answers
251 views

Why this script doesn't work in cron and generates a empty output?

Why this script doesn't work in the cron for root or other user and generates a empty output ? /tmp/test-1.log --------------- #!/bin/sh /bin/echo this is test-1.sh /bin/date "+%FT%T" Permissions ...