General :: Application To Support Writing To /dev/stdout Or /dev/fd1 Or Is That Handled Transparently By The OS?

Mar 26, 2011

I tried this command to print the buffer of an existing screen session to stdout but I don't know why it doesn't print anything.

screen -x lftp -X hardcopy /dev/fd/1
screen -x lftp -X hardcopy /dev/stdout

It works if I use a regular file instead, so why doesn't it print to stdout when I use /dev/fd/1? I do this with other applications don't have an option to write to stdout and it works, so what does GNU/Screen do that makes it not work?

View 1 Replies


General :: Media Application With UPnP Support?

May 18, 2011

Is there a multimedia application for linux that has uPnP media sharing similar to MS windows media player?

View 6 Replies View Related

Programming :: Writing Console Application?

Jul 7, 2010

I'm trying to write a simple, console based application in linux, in c++. I know how to start in Eclipse and I have some experience in c++ from Windoze. I would like to ask, if there is some tutorial available on writing console apps. I mean, I know from using linux that there are two conventions on using parameters in command line (-v and --version for example).

View 2 Replies View Related

General :: Video Codec 'DivX 5' Is Not Handled?

Aug 11, 2011

i am trying to play some avi movies in my centOs but there is an erro

View 3 Replies View Related

Networking :: Writing Network Manager Application ?

Apr 15, 2011

I try to understand the way the network-admin tool retrieve and set information about the network connections, and after reviewing thee code, I still dont undertsnad how it does it. I thought that it should use maybe linux commands such as iwconfig or ifconfig or by using ioctl for get/set the parameters of the wireless, but I did not find such things in the code. It also does not use AT commands for modem devices parameters.

I see that it uses liboobs files, but after veiwing the code, I still don't understand how it works.

These question comes since I work on application which connects to wireless devices (possibly several wifi and modems devices can be connected ), and I try to think how to set/get the network parameters, I thought that a good start will be to look at how network-admin works.

View 1 Replies View Related

General :: File Permissions Handled On External Media And Other Computers?

Jan 30, 2010

I was wondering, what if you had a flash drive formatted with an FS that has UNIX permissions. Then what if you copied some of your files onto it. And then put it into another computer that has a user account by the same name. WIll the user be able to access the files?What if you named your own user differently on the other computer, will you be able to get your files?

View 14 Replies View Related

Software :: Writing A Script That Is Designed To Verify An Application Is Running?

Apr 13, 2010

I am writing a script that is designed to verify an application is running. The if...else statement in question is the following:

# Check if <application> is running.
ps -ef |grep <application> > /dev/null
echo $RC


I have started testing by disabling the application in question, and then running the script. The problem that I am seeing is that even though the application is not running, I am getting an output code of 0 due to the successful running of the ps command. What syntax change(s) do I need to make in order to accurately determine when the application is not running?

View 3 Replies View Related

General :: Log Rotation Of Stdout?

Jun 1, 2011

I have a Linux program which can write information to stdout and stderr.

I have a shell script which redirects that output to a file in /var/log. (Via >> and 2>&1.)

Is there a way to make that log file rotate? (max size, then switch to a different file, keep only a limited number of files)

I've seen a few answers which talk about the logrotate program, which sounds good, but they also seem to be focused on programs which are generating log files internally and handle HUP signals. Is there a way to make this work with a basic output redirection script?

View 3 Replies View Related

General :: How To Echo The File To Stdout

Sep 26, 2010

I have a process which logs output to log.txt. If I want to see the process's status in real-time, is there a way to echo that output to stdout instead of opening the log in a text editor and constantly reloading?

View 3 Replies View Related

General :: Able To Write On Stdout But Not In A File

Aug 16, 2011

I want to keep a trace of the URL I visit, so I use a command line like this:

tcpdump -ien1 -v -X 'tcp port 80' | sed -nl
's/^.0x[0-9a-f]{4}:.{43}(.)$/1/p' |perl |perl -pe


I also tried redirecting stdout and stderr to /tmp/out, it's still empty. The file has write access. I have no idea what it can be. Is there anything else than stdout and stderr?

View 2 Replies View Related

Software :: Customer Support Portal Application?

May 13, 2010

Some good open source software for these requirements:

1. Support center
customers can submit issues(or tickets) to our support staff and support staff can process these issues on the web or via email.

2. Knowledge base
Multi languages support are required, and admin also can apply the access privilege to each account/group.

3. Document or File download (FTP?)
customers can download the software hotfix , patch, Presentation file or even upload their log files. Admin can control the access privilege easily.

Is there any single open source software can meet these requirement at the same time?

View 1 Replies View Related

General :: Script To Output Both The Stderr And Stdout To The Same Text File?

Aug 5, 2011

Am having issues getting the output from a script to be logged in a file. I need the script to output both the stderr and stdout to the same text file.

At present I have the following script:

echo TR3_1 > printers.txt
snmpget -v 1 -c public 10.168.**.* SNMPv2-SMI::mib- &>> printers.txt


View 4 Replies View Related

General :: Command Stays Printing Since The Server Is Up On Stdout

Feb 22, 2011

I have a command in a shell script along with a bunch of command. Th command prints out stuff on stdout and stays printing since the server is up. However eve though I want to start the server I want it to continue executing the commands after ./ in the same flow.

View 4 Replies View Related

General :: Redirect Stdout/stderr Of Multiple Commands In One Shot?

Jun 3, 2011

I have several commands in a bash script, and in the middle of the script there are several commands whose output and error streams I want to redirect to a file. I think I could simply add '>> myfile.txt' to the end of every command, but is there a way to set it before that block of commands, then reset the streams to their original state at the end of that block?

View 1 Replies View Related

Ubuntu :: Software To Transparently Overlay Images?

Aug 28, 2010

I have two almost identical images of the same size that I want to compare. I'd like to over-lay them one on top of the other and vary each image's transparency so that I can compare them. Anyone know of any software that does this?

View 4 Replies View Related

Ubuntu Networking :: Transparently Redirect To The Proxy

Jul 7, 2011

My company requires a proxy server that requires a manual configuration to use. Many Ubuntu apps, however, do not respect the HTTP proxy settings.Is there anyway to modify my local firewall settings to automatically forward IP traffic to the company proxies in the same way a transparent proxy might work?Would I need to set-up my own local, transparent squid proxy which itself forwards to the company proxy?

View 1 Replies View Related

Debian :: How Repository Security Handled

Jan 12, 2016

How the Debian repository secures its keys against malicious access? Obviously, any security lapse would be concerning because it could allow an attacker to gain access to the repository's keys, allowing them to sign trojaned binaries. Are any extra security measures? Are the keys stored in a hardware security module or a keycard, for example?

View 14 Replies View Related

Fedora :: Mouse Clicks Not Being Handled

Dec 30, 2010

I'm using Fedora 14. I used pre-upgrade from Fedora 12. I'm using KDE and the nvidia driver.

My problem has to do with the mouse. Basically, only mouse clicks on one window at a time are being handled. If I have Chrome and Thunderbird both open then the mouse will behave normally on Chrome but clicking anywhere on Thunderbird will have no effect. By clicking I mean both left and right mouse button.

To get clicking on Thunderbird to work I have to right-click anywhere on the active window (Chrome in this case), then right-click on the window I want to be active next (Thunderbird). This will allow me to use Thunderbird normally but then Chrome becomes inactive. Typing works even if the window is inactive if the cursor is on the window.

I've found that if I log out and then log back in, the problem disappears. I also tried creating a new user and logging in with that user but the problem still persisted.

View 9 Replies View Related

Networking :: Transparently And Securely Identifying Clients On A Network?

Dec 12, 2009

following on from [URL] I was having a little think about how to make this concept more secure. its easy enough to separate known and unknown clients out via MAC address. but that system is easier to break than it is to set up either, sniff out a mac address already connected to the system, and spoof that address.or, more simply, set a static IP on your wifi device, and avoid the redirection completely. so, is anyone aware of a relatively straight forward setup that would allow me to identify clients on my network without relying on MAC address, would more forcefully separate out known and unknown hosts (vlan??). As well as doing so without alerting them to the fact, and without requiring known hosts to do anything special, or install software. Or requiring any more hardware than I have already. (hardware = a debian box with 2 NIC's acting as a gateway between all internal network, and the billion router which handles the outside world not getting in, and a WAP attached to the internal side of the network. also somewhere I have a wifi card that I could attach to the server to replace the AP) I assume some sort of authentication mechanism is required, but I dont know much more past that.

View 2 Replies View Related

Applications :: Can Assume That Audible ( Aa Files ) Cannot Be Handled In Any Way?

Aug 27, 2010

Can I assume that Audible ( aa files ) cannot be handled by Linux in any way?I have paid and downloaded some audiobooks from Download Audio Books, iPod And Digital Audio Books | Downloadable Online Audio Books | Audible Audiobooks | and I cannot find any way to get them on to my ipod.I've tried Wine with Itunes but that doesn't work and one or two other 'windoze' progs to convert to mp3 but non of them work.

View 3 Replies View Related

Debian Configuration :: ADSL - Router Should Handle Everything Automatically And Transparently

Feb 3, 2010

The router should handle everything automatically and transparently. All you need to do is make sure that the wireless Ethernet adapters in the laptops can "talk" to the wireless router.

View 4 Replies View Related

Networking :: Transparently Chaining Squid And Privoxy For A Local Machine?

Jul 18, 2010

I'm trying to setup iptables to send web (tcp?) traffic through Squid and Privoxy transparently (to save having to setup everything per browser and hoping they honor their settings). I know I have done this before but I can't find the old config nor remember the exact options needed to do this.What I am wanting specificially is for Privoxy to grab the data as it leaves the browser, do its thing then pass it on to Squid before sending it down the line, then doing the same incoming (Privoxy -> Squid -> requesting app).

View 1 Replies View Related

Networking :: IPTables / SSH Connection To .150 - The Packets Are Still Handled By .150 After Adding The Rules

Jul 2, 2010

I two servers set up: and Initially, I want all traffic to be served by server 150. So for this purpose I am leaving the IPTables on .150 empty. At a point in time, I want to forward all incoming traffic to be served by .160 instead. I have accomplished this using these commands (on .150):

iptables -t nat -A PREROUTING -j DNAT --to
iptables -t nat -I POSTROUTING -j MASQUERADE

My problem is that if I have an open SSH connection to .150 (prior to adding the rules), the packets are still handled by .150 after adding the rules.. e.g. my SSH session stays active. I want these packets to be forwarded to .160, which would effectively disconnect the SSH session. I do not want the packets flat out dropped, I just want them forwarded on in whatever state they are in. If I try a new SSH session, it is properly forwarded to .160

View 5 Replies View Related

General :: Ubuntu Can't Support A Higher Resolution That Laptop Can Support?

Apr 14, 2010

I have a HP laptop which can support 1600x900. But after I install ubuntu 9.10 on it, it can only support up to 1280x700. My laptop has a Nvidia graphics card. And i am using GNOME as my desktop environment.

View 1 Replies View Related

General :: Tar Error: "gzip: Stdout: Cannot Allocate Memory"

Aug 18, 2009

-bash-3.2# tar -xzvf lzo-2.03.tar.gz
gzip: stdout: Cannot allocate memory


This is on a VPS with 256mb memory. vmstat and /prov/meminfo both show that over 200mb is free.

View 1 Replies View Related

General :: Redirecting STDOUT Of Previous Command To STDIN Of Next Command

Nov 20, 2009

i'm trying to redirect the output of a command to the input of the next command. not sure if i'm going about this the right way. an easy method would be just to store the output of the previous command in a file and redirect input to read that file, but i'm curious to see if this can be done without writing to any files.

View 9 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...


I untar the pack, and launch the application calling a script, from within the untarred folder,


This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,



I decided to hack the script from



no avail,


even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

OpenSUSE :: Move Transparently Between Run Level 3 And Run Level 5 As Autologin User?

Aug 10, 2010

I've been able to kludge a kill script which finds the correct pid for the kdeserver (or gnome server) after my system comes up in run level 5 so I can drop back to run level 3 mode. Lots of experimentation showed me that using telinit 3 and telinit 5 would occasionally leave the video memory in a mess and I would have the black screen of death.

I set the security parameter setting to autologin for me since I am the only user of my machine, but I still have to kludge the default setting under sysconfig (the DEFAULT_WM) under Window Manager to pick a certain window manager, so it takes time to manually switch the desktop.

Right now I can leave the gui and drop back to cli, but painful experimenting showed me that killing the X server is a no no. Right now I kill the kde server, which sends the SIGTERM to the X windows manager, which then figures out that it has to shut down.

Questions: Is there a better way of doing this? Apparently openSUSE figures that we have multiple users logging into the gui desktop, so the gui is always kept running and a login window with the desktop manager option forces the user to login in. With autologin, this never happens, but no choice of desktop is possible on the fly.

Can some type of script be set up to painlessly enable this to happen? And what is the best way of bringing either the Gnome or KDE desktop manager down gracefully? I do get lots of error messages as the system attempts to recover and X shuts down. It appears that apparently the single user with autologin is left out in the cold.

View 4 Replies View Related

Ubuntu Multimedia :: Make A Audio Disc - Get : "Track 1.wav" Could Not Be Handled By Gstreamer

Apr 24, 2010

I use ubuntu 9.04 and up until this week I could burn CDs using Brasero disc burner without incident. I have partially fixed the problem. I can now use brasero to burn data discs that have wave files for the songs, but when I try to make a audio disc I get this: "Track 1.wav" could not be handled by Gstreamer. I use synaptic and installed some more libs, but to no avail. Should I just install everything in Synaptic for Gstreamer?

View 1 Replies View Related

Programming :: Using Stdout For More Than One Task?

Jun 30, 2009

I want to parse my mail log file and reuse the results but I'm having a hard time structuring the syntax. Something like:


grep hostname /var/log/mail.log |
grep NOQUEUE: |
sed -e 's/hostname postfix/smtpd/[[0-9]*]: //g'

at this point I want to redirect what I have in hand to a file but also ... fork? or split? whatever the term, to continue onward so that I can pipe the results further into wc -l or sort or programX. without having to re-loop through that huge log file.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved