10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to get some kind of notification when a script has been executed.
I know how to get an email sent, but I something different.
This works, unless it occurs when I am not at my computer.
notify-send "Cleanup of Backup Directories complete." It could even involve creating... (2 Replies)
Discussion started by: drew77
2 Replies
2. Shell Programming and Scripting
Hi
I have two text files. The first file is TEXTFILEONE.txt as given below:
<Text Text_ID="10155645315851111_10155645333076543" From="460350337461111" Created="2011-03-16T17:05:37+0000" use_count="123">This is the first text</Text>
<Text Text_ID="10155645315851111_10155645317023456"... (7 Replies)
Discussion started by: my_Perl
7 Replies
3. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
4. Shell Programming and Scripting
Hi,
I am trying to write a script with goes through thousands of XML documents to pull out the values for a particular tag to a .txt file.
For example I have
file1.xml
file2.xml
file3.xml
.
.
.
fileN.xml
All these files have a tag called <systemID>.
The value that sits within... (6 Replies)
Discussion started by: Chor419
6 Replies
5. HP-UX
Hi Experts,
On one of hp-ux box I have writen the code to disable the direct login for some of the users in /etc/profile file.
However when logging into terminal seems /etc/profile is not executed and users are still able to directly login into the terminal.
Default shell for user is... (3 Replies)
Discussion started by: sai_2507
3 Replies
6. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
7. AIX
Hi
Script not getting executed via cron but executes successfully when executed manually. Please assist
cbspsap01(appuser) /app/scripts > cat restart.sh
#!/bin/ksh
cd /app/bin
date >>logfile.out
echo "Restart has been started....." >>logfile.out
date >>logfile.out
initfnsw -y restart... (3 Replies)
Discussion started by: samsungsamsung
3 Replies
8. Red Hat
hello
i have installed php on my FC 10 Machine and made the necessary changes.
like:-
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
in the "httpd.conf"
But when i run php file it opens file as "Save As" dialogue box.
anyone can guess why ?... (5 Replies)
Discussion started by: phpalerts
5 Replies
9. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
10. UNIX for Dummies Questions & Answers
Hi Experts,
Im a new bee for scripting,
I would ned to do the following via linux shell scripting, I have an application which throws a log file, on each action of a particular work with the application, as sson as the action is done, the log file would vanish or stops updating there, the... (2 Replies)
Discussion started by: pingnagan
2 Replies