The output tag has no wiki summary.
22
votes
5answers
1k views
Does running commands verbosely make them slower?
I've found myself using the -v flag for lots of applications less and less (especially for trivial stuff like tar and cp). However, when I did and I was, say, unzipping a large file, it would take ...
21
votes
2answers
21k views
What does “2>&1” do in command line?
I know that the > sign is used for output redirection in the command line, but I'm having trouble finding something that explains the use of 2>&1 in the command line. For example:
curl ...
9
votes
2answers
2k views
How does a sound card determine if headphones are plugged in?
This is actually two questions in one.
First, how do soundcards (the cheap ones) "detect" whether the headphones are plugged in? By measuring resistance or by some other technique?
Second, can I ...
9
votes
1answer
360 views
How can I suppress chrome-extension:// output from Web Inspector's console log?
I don't wish to disable my extensions – after all they're there for development purposes – but I want to disable their output from the console in Web Inspector. Is there a way to do this?
N.B. a very ...
8
votes
4answers
19k views
Change the audio output device in Firefox
I'm trying to play music through Ventrilo and currently I use Virtual Audio Cable. The way it works is that in foobar2000 (a music playing program) I set the output device in preferences to Virtual ...
6
votes
2answers
50k views
How do I enable multiple audio outputs on Windows 7?
For Windows 7, 64 bit: I have a digital SPDIF output to my stereo, which controls speakers in other rooms. I also have a set of speakers connected to the regular audio jack at the computer. This ...
5
votes
2answers
1k views
How to disable the output of 7-Zip?
I use 7-Zip to compress files inside a batch file like this:
...\right_path\7z a output_file_name.zip file_to_be_compressed
I got the following output:
7-Zip 4.65 Copyright (c) 1999-2009 Igor ...
5
votes
1answer
503 views
pipes vs. redirects
I've been using pipes and redirects for a long time and just realized that I don't know exactly how they are different. I just know that if you want to store the output in a file, then you use >. ...
4
votes
1answer
5k views
Bash command to cut output after x number of lines
I'm looking for a bash command, which I can use to limit the number of lines of a file or another command output. E.g.
ls -thor | limit 10
would limit the output of the ls command to 10 lines (in ...
4
votes
2answers
69 views
Is there a program that can colourize the output of any linux command?
Or would I have to write my own? What's the best language for building a tool of this kind?
I'm kind of new to linux, but I'm guessing that you could pass the output of a program to a particular ...
4
votes
1answer
926 views
Redirect audio from laptop to desktop over LAN
I want to be able to play a song on my laptop and have it sound through my desktop's (infinitely better) speakers.
If you're familiar with Input Director: I want something that is to audio what Input ...
3
votes
2answers
849 views
How to copy FAR file manager's output
Hi guys, how do I copy FAR-Manager's console output? For example when I use ping command I want to copy it's output text, but not image.
Oh, and I would like to do so with keyboard! :)
3
votes
2answers
519 views
What is the use of binary output on stdout?
Some programs print their binary output directly on stdout. Here are some examples:
tar -c file.png
dd if=file.png
Well, I see that the output can be redirected to a file. But these programs ...
3
votes
1answer
195 views
How can I see the console output on linux like in windows?
Well, let's say we have a application that runs in a console and is for both windows and linux.
On windows when you double click the application a command window opens and the application runs, you ...
3
votes
2answers
61 views
Launching an linux executable not from the command line
If you have an executable file *.out that you launch from the GUI (let's say by pressing Alt+f2 in fedora and typing it's name), what happen if that file tries to read or print to standard ...
3
votes
2answers
232 views
Vim/Cygwin: No linebreaks in :! output
I'm using Vim via MinTTY under Cygwin. When I issue a command like
:!ls -la
the displayed output doesn't show newlines correctly. It rather just jumps to the virtual column of the next line, where ...
2
votes
2answers
187 views
How can I log the output of the mv command in Linux?
I'm using the command:
mv -v -f sourceDir destDir
How can I output the verbose console out to a file?
2
votes
1answer
82 views
Console command redirect to nothing
Is there a way to redirect Windows console commands to nothing\null?
A regular redirection might look like:
prog.exe > a.txt
However in my case I would like to redirect the output so that it ...
2
votes
2answers
120 views
Is there a tool like `script` (Linux/Solaris/etc) for Windows?
Perhaps the worst-named tool in the *nix world, script is extremely handy when you want to capture all the output of a terminal session.
Is there a tool like it for Windows? Specifically, without ...
2
votes
2answers
93 views
Redirecting output to email
I am aware that in Windows you can use the following snippet to redirect the output of a command line tool to the clipboard:
mytool | clip
Also, it can be done with files:
clip < myFile.txt
I ...
2
votes
1answer
293 views
How to hide debugging output in Mathematica?
I want hide all outputs created by Print command from user's function defined in module .m.
More precisely the problem is following:
I have a module that solves some specific task (It's not ...
2
votes
1answer
242 views
How can I find out how big my encoded file will be?
I am converting a video using the following command:
ffmpeg -i "input.avi" -vcodec mpeg4 -r 15 -sameq "output.avi"
However I'm only interested in the file size of output.avi. Is there a command I ...
2
votes
1answer
2k views
DVI to VGA adapter only working in one output
I have a AMD Radeon HD 6800 Series graphics card which has 2 DVI outputs. I tried to set it up with 2 monitors which both have vga connectors on the end and used 2 dvi to vga adapters like these.
...
2
votes
4answers
2k views
I have no sound on my computer The speaker icon has a red x on it and it says: No audio output device is installed
I have no sound on my computer
The speaker icon has a red x on it and it says: No audio output device is installed.
I have done everything step by step following the Window Help and support,
Compaq ...
2
votes
2answers
664 views
How do I change my audio output device without making it the default one?
I want to combine two streams using a program called Virtual Audio Cable, and listen to the combined stream, while not making it the DEFAULT sound output device.
Is there a way to listen to an output ...
2
votes
1answer
82 views
Does anyone know a way to play a video file with two its audio streams being simultaneously streamed to different output devices?
I would like to know if it is possible to listen to one audio stream via the audio-jack speakers and to the other via the usb headset (that would just give me an ability to watch movies in English ...
2
votes
1answer
568 views
Ubuntu Skype: How can I split ringing and calls to headphone and main speaker on a laptop?
I'm running Ubuntu 10.04 on a Fujitsu Siemens Amilo Pi 1505 laptop. Normally, when I plug my headphones in, all sound is diverted to them. I haven't found anything in sound preferences that changes ...
1
vote
3answers
90 views
Single-line input to multiline output in Unix
How can I use a filter to display something like:
echo "Hello there" |
H
e
l
l
o
t
h
e
r
e
1
vote
2answers
263 views
How to show linux “cmp” command progress?
Is there a way to show the progress when running the cmp command?
Comparing large files or partitions using cmp can take a while.
I have searched google and used man cmp, but failed to find any ...
1
vote
1answer
60 views
How do I create a new file with text outputted from a command?
I just wanna create a file with the outputted text from a command, rather then copying and pasting & making a new file by hand.
I'm on a unix machine.
1
vote
3answers
383 views
See process output after being disconnect from a SSH session
I'm connecting to my web host from Windows 7 using putty ssh. When I start a script in the remote host, sometimes I get disconnected. I have to connect again, and from the command "ps
aux" I can see ...
1
vote
3answers
776 views
normalize .wav sounds
When playing counter-strike certain servers will force you to download sound files their server uses. These range from song clips to sounds from other games like unreal tournament and quake. The ...
1
vote
5answers
1k views
Output from rpm -qa, how to extract only the name of the package?
The output format from the command rpm -qa looks like the following:
abrt-1.1.14-1.fc14.x86_64
abrt-addon-ccpp-1.1.14-1.fc14.x86_64
abrt-addon-kerneloops-1.1.14-1.fc14.x86_64
...
1
vote
3answers
771 views
iptables LOG actio writes to STDOUT
when I use LOG action in some chane of iptables rules, I get the output both in STDOUT or STDERR of the xm console and in /var/log/messages.
Is there way to make iptables to write only to log ...
1
vote
2answers
323 views
How can I see more output lines in terminal?
If I give a command that has a lot of output lines in terminal, about 400, I can only see the last ~200 if I scroll up to the top. How can I go further up and see more output lines? I don't want to ...
1
vote
3answers
228 views
Sound card with Multiple Jacks
If a laptop has multiple output sound jacks, like in HP DV6 series, I am able to get output from the all the jacks. i.e the same output is received. I would like to ask if I can get different sound ...
1
vote
3answers
876 views
How to pipe awk output (with periodic, continuous input) to output file?
I am trying to write a command that pipes the continuous output of a free command (run every second) to an awk command that parses a specific value (available free memory) and outputs this to a file ...
1
vote
3answers
629 views
Command line output to split files
I want to be able to split an output from a command line that goes into a file.
I want either or both of the following ways to split:
Split based on file size. If it gets to say 500kb, then create a ...
1
vote
1answer
827 views
USB sound card with 6.3mm jack output
I have a pair of Sennheiser 555 semi-professional headphones. These have a 6.3mm jack and a 3.5mm jack adapter. I wish I could buy an USB sound card for my laptop that would have a 6.3mm output not ...
1
vote
1answer
75 views
Dump output from REPL
I'm writing SML programs, and I'd like a way to quickly see the output from running a program in the REPL without actually running the REPL (to quickly see if a program has syntax errors - I plan to ...
1
vote
2answers
225 views
How to redirect script output to a text file and continue despite log-out
What is the difference between:
nohup bin/admin/release.sh > /users/john/release_output 2>&1 &
and
bin/admin/release.sh > /users/john/release_output &
I want to run ...
1
vote
1answer
661 views
Can an integrated HDMI port work both ways?
Say I had a laptop [Correction: notebook, don't want my thighs medium rare], any OS, and it has an HDMI port build into the side. Would it be remotely possible to hack it into an input, provided it ...
1
vote
1answer
68 views
Detect batch output presence
I've got a daily scheduled .bat batch script that runs Fossil, and automatically commits that day's changes to my projects' source tree. Now I've set it to run every day, including the weekends, ...
1
vote
3answers
431 views
Copy and paste RESULTS of a file search
In order for me to get the results of a file search in a readable format, I use the following command line in a command prompt:
dir *.* /s > myResultList.txt
I then open that list in Excel, use ...
1
vote
1answer
2k views
Using adapter with higher output voltage?
My adapter is broken, and I'm currently using another one while I'm waiting for a new adapter.
The input voltage and amps are the same for both adapters, while there are difference in the output ...
1
vote
3answers
113 views
grep -c gives inconsistent outputs
I am trying to determine the number of processes that are running via the following command line:
ps aux | grep -c 'Xvfb :1'
When the process "fiji :1" is not running I sometimes get a value of 0 ...
1
vote
1answer
1k views
What are usual maximum output frequencies on computer sound cards?
Exactly what it says on the tin.
I have a Sound Blaster X-Fi Xtreme Audio Notebook sound card and I was measuring its output frequency using frequency counter connected to the card's output. ...
1
vote
1answer
1k views
Direct sound from speakers (output) to mic (input)
This is an attempt make Skype and Ventrilo more fun/easier. I'm essentially looking for a method/hardware/application that does essentially the same thing as me physically moving my speakers to beside ...
1
vote
0answers
62 views
Handbrake output directory to include Title folder
I am using handbrake to convert my DVD's to .MP4 and have set the default output path
Tools -> Options -> Output Files
In here there is Default Path: which I have pointing to my Movies folder ...
1
vote
0answers
107 views
No Signal for VGA/HDMI on new computer
So I ordered a new computer from CyberPowerPC and it just arrived. On my old desktop, I recall that the VGA output did not give a signal when I plugged it into my monitor; rather, with searching, I ...