The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
26 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 ...
3
votes
6answers
596 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
31 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
0answers
18 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
12 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
21 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
65 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
78 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
87 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
220 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
186 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
167 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
521 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 ...
0
votes
0answers
89 views

Something wrong with audio input. My output (music) is what people in teamspeak here instead of anything coming from my mic

I'm pretty new to the world of Ubuntu but I've been having this problem that seems to persist through reinstalls. Initially the mic was working fine, everyone in teamspeak could here me, no problems. ...
1
vote
1answer
78 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
89 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
787 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
127 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
94 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
476 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
18 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
0answers
98 views

iptables : ssh output redirection

I'm trying to configure iptables to redirect ssh output, but to test I first configure tcp redirection like this: protocol : tcp source IP : 127.0.0.1 source port : 69 destination ip : anywhere ...
0
votes
1answer
120 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
431 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
112 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
71 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
408 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
46 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
0answers
105 views

Using MIDI device (Roland TD-15KV) as output device for playing with music

I have a Roland TD-15KV connected using USB. Ubuntu does recognize the device as an input and output which is good. The problem is that whenever I turn on the module and set the device as output (so ...
0
votes
3answers
143 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
55 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
480 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
816 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
102 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
3k 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
146 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 ...
0
votes
1answer
162 views

Running Spotify via wine will only use speakers not play via headphones

I have Spotify installed under Wine. It currently is trying to use my desktop speakers as the default output device, however I have changed the system settings to use all input and output sound for my ...
0
votes
1answer
85 views

cron not outputting correctly?

Please forgive my ignorance. I have searched, but perhaps I’m not sure really what to search for in order to answer my question myself, so I’m turning to this forum for a little guidance. I’ve ...
0
votes
1answer
34 views

What's the mounted path for sound device?

As the title? In red hat sound device is mounted at /dev/dsp. How about ubuntu? Regards, Hua Jie
-2
votes
1answer
330 views

How do I get my sound to work

I recently installed ubuntu 13.10 and am having trouble with no sound output. This was never an issue with 11, which was the last one I used. I am using an HDMI cable for video and audio this time ...
1
vote
1answer
110 views

output SoX synthesized sound to file

I have the following SoX command that generates a nifty 'spacecraft' sound: play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 How could I output about 10 seconds ...
0
votes
1answer
90 views

Audio Input to Audio Output

my Audio output is broken, but i also have an audio input which i dont need,is there any chance that i could change them so the input will be the output? Nice Greeting Maria PS: Sorry for my bad ...
1
vote
0answers
259 views

No sound from Ubuntu 13.10 after selecting output

Hello I have headphones that I plug and unplug from time to time because I talk on Skype. When I unplugged my headphones from my keyboard there was no sound from my speakers while I was playing music. ...
0
votes
1answer
349 views

HDMI Audio not working on fresh Dell install

Just installed Ubuntu on a Dell Studio 1535 laptop. Everything is working except the audio on the HDMI connection (video via hdmi does work). Intel® Core™2 Duo CPU T5850 @ 2.16GHz = thats the ...
2
votes
2answers
164 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
168 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 ...
11
votes
3answers
3k 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 ...
3
votes
2answers
430 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 ...
0
votes
1answer
696 views

ubuntu 12.04 (64bit) wine midi has no output

I have UBUNTU 12.04 (KXStudio version) with several MIDI programs that work well both input and output. I installed Wine 1.5.31 so I could run Studio4 by Midisoft. The program runs, accepting MIDI ...
2
votes
3answers
618 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 ...