Originally Posted by vbe. Originally Posted by vidyadhar Thanks Lucas 4 Replies. Hi, I'm running a program Python whose output I would like to redirect to a log. But the program calls a library that I cannot change , which outputs all sorts of useless information. I would like to redirect all output from my Python program into this log, except output that matches the I originally wrote my script using the korn shell and had to port it to bash on a another server. My script is working find for backing up but noticed that now after the move, I am not getting any output to my log files.
Using Korn shell, this worked for me for some odd reason. This was sending Hello I read a lot of post related to this topic, but nothing helped me. I need to check output for possible errors. Red Hat. EDIT: Nevermind, figured it out! Forgot to put backslashes in my perl script to not process literals! Hi everyone. I am trying to have this command pass silently.
I've tried So, if I have a script script. OpenSolaris Commands. Linux Commands. SunOS Commands. FreeBSD Commands. Full Man Repository. Advanced Search. Contact Us. Forum Rules. Mark Forums Read. Thread Tools. View Public Profile for ysrini. Find all posts by ysrini. View Public Profile for jim mcnamara. Find all posts by jim mcnamara. Page 1 of 2. Show 2 more comments. Enim Enim 1 2 2 bronze badges. This works as long as your shell is originally yours, and you haven't performed su command on the way to get the shell.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta.
New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions.
0コメント