10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
So i have that script collection, in which i have a single script to create a configuration file.
In there, i have multiple occourences of something like this:
prj_title=$(tui-read "What is the TITLE? ($prj_name):")
] && prj_title="${prj_name/_/ }"
They all work as expected, if... (5 Replies)
Discussion started by: sea
5 Replies
2. Shell Programming and Scripting
i try to find way to make string concatenation in csh ( sorry this is what i have )
so i found out i can't do :
set string_buff = ""
foreach line("`cat $source_dir/$f`")
$string_buff = string_buff $line
end
how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies
3. Shell Programming and Scripting
I have an XML tag <abc> which is empty as <abc></abc>.If the the tag is empty I want to flag the file as bad.
Please help.
Thanks (3 Replies)
Discussion started by: aneeta13
3 Replies
4. Shell Programming and Scripting
I am reading from a file and executing the jobs with/without parameters as the job requires.
File
job1 R
job2
job3 Y 123
if
then
<job>.ksh
else
<job>.ksh $params
fi
This works fine if the line read from the file has parameters
it executes like job1.ksh R
But for... (2 Replies)
Discussion started by: nw2unx123
2 Replies
5. Solaris
Hi all,
One of the server is showing empty messages
# logger -p user.error HELLO_SYSLOGD
# dmesg
Mon Apr 23 15:11:19 MYT 2012
/etc/syslog.conf file, i tried copy the conf file from another server, still it is not working
*.err;kern.notice;auth.notice /dev/sysmsg... (8 Replies)
Discussion started by: beginningDBA
8 Replies
6. Cybersecurity
Hello everyone. I'm a newbie and this is my first post, and I'm hoping to get some help understanding what happened on my server. I did as much research as I could, but now I turn to the forums for help :)
I've set up a VPS server and I "thought" I had good enough security on it, but all of a... (2 Replies)
Discussion started by: antondev
2 Replies
7. Solaris
Do not know the reason y messages file is empty already restarted the syslog daemon but still its showing empty .
xxxxxxx# more /var/adm/messages
xxxxxx#
# ps -efo zone,pid,ppid,time,comm | grep syslog | grep global
global 11861 1 00:10 /usr/sbin/syslogd
svcs... (2 Replies)
Discussion started by: fugitive
2 Replies
8. Shell Programming and Scripting
Hi!
How can I run a cicle while one var is not empty?
Or better saying how can I see if the var has something?
thanks (1 Reply)
Discussion started by: ruben.rodrigues
1 Replies
9. Shell Programming and Scripting
Hello All,
I have written shell script whcih at the max 3 parameters.
When only one commandline argument and other two command line arguments are passed as empty string like
eg : archive ' ' ' '
Then i need to check whether the commandline... (12 Replies)
Discussion started by: rahman_riyaz
12 Replies
10. Shell Programming and Scripting
Hi,
I need to check for value not equal (<>) to 21 and not equal empty or null values.
Please modify this script
if
then
echo "$VALUE,$BSC_NAME,$BSC_ID" > $OUT_FILE/power_up.out
end if
TQ (5 Replies)
Discussion started by: doer
5 Replies