10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am in trouble ... again :wall:
I formating a log file as .txt from Unix (solaris 9) and then I compress it with gzip and I use uuencode and send it in an email.
gzip -c ${fic_report} | uuencode Report_File.gz > ${attachment_file}
my problem is when I received the mail with the... (6 Replies)
Discussion started by: Aswex
6 Replies
2. Shell Programming and Scripting
Hi,
I have written a bash shell script. In order to create a log file when I run the script, as well as print the output to the terminal, I call it in the following manner:
my_shell_script 2>&1 | tee my_log_fileThis seems to work well. However, I have put some statements in the script to... (2 Replies)
Discussion started by: msb65
2 Replies
3. Shell Programming and Scripting
Hi,
I have a problem with my logfile. I am redirecting my output to log file and when iam viewing as text doc it is looking with some nonsense characters...please do help me on this .thank you.
here is my logfile which it is showing different behaviour:
spawn
spawn minicom
Welcome... (6 Replies)
Discussion started by: vanid
6 Replies
4. Shell Programming and Scripting
Hi,
Please help me with below scenerio...
i have a shell script.. which should be scheduled in cron and should get the log when executed.
example, script.ksh :
echo "narayana" >$HOME/script.log
* * * * * bash -x $HOME/script.ksh >$HOME/script_cron.log
My question is:
I am... (2 Replies)
Discussion started by: lnviyyapu
2 Replies
5. Solaris
Hi All,
I have a perl module TrxLog.pm and following are codes in it
#!/usr/local/bin/perl
package TrxLog;
%log_begin="";
%log_end="";
%log_msg="";
%log_start_time="";
%log_end_time="";
$ix=0;
@arr_msg="";
if (! -e "TrxLog.txt"){
open (TRX,">TrxLog.txt");
}else{
... (1 Reply)
Discussion started by: megh
1 Replies
6. Ubuntu
Hello everyone,
I have problems to log into systems recently. Here is the description of the problem:
I installed windows and ubuntu linux in my laptop, sometimes after I pushed the power button, the screen of the mainboard showed up, and then the whole screen came to grey without any letter... (0 Replies)
Discussion started by: tpltp
0 Replies
7. UNIX for Dummies Questions & Answers
Hey Guys,
I am trying to do a recursive search in one directory. If the directory contains that specific folder then create a directory in my other remote machine and use SCP to transfer all the contents of the file.
Till this stage everything works fine. So now i need to add 2 more... (5 Replies)
Discussion started by: chris1234
5 Replies
8. Shell Programming and Scripting
I want to transfer files from ABC server to XYZ server in which i am successful. I would like to create a log file also by the name of current date. For some reason my script gives me an error on my scp -p command and it says LOCAL_LOG_FILE: not found and REMOTE_LOG_FILE not found. Any clues whats... (9 Replies)
Discussion started by: chris1234
9 Replies
9. UNIX for Dummies Questions & Answers
Hello:
I'm having the following problem when I try to log in to our Tru64 system, from any machine using root or any other user.
After entering the passowrd I get the following message:
and not being directed to the shell console.
I think it has something to do with the audit process... (2 Replies)
Discussion started by: aladdin
2 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone! It's been a while since I posted here!
Here's my question - Every week I check various logs (disk usage, etc), but the problem I'm finding with the user logs, is that they only go back a day, when I use the 'last' command. Is there any way of recording 7 day's worth of user access... (3 Replies)
Discussion started by: Ypnos
3 Replies