10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, how in bash i can get directory loop and order by creation date?
THX! :)
#!/bin/bash
for folder in /home/test/*
do
if ; then
echo $folder;
fi (12 Replies)
Discussion started by: ZerO13
12 Replies
2. Shell Programming and Scripting
#!/bin/sh
echo "VG: "
read VG
echo "LP: "
read LP
echo "SAP: "
read SAP
echo "NUM: "
read NUM
echo "SID: "
read SID
while ]; read VG LP SAP NUM SID ; do
mklv -y $SAP$NUM -t jfs2 -e x $VG $LP;
crfs -v jfs2 -d /dev/$SAP$NUM -m /oracle/$SID/$SAP$NUM ... (14 Replies)
Discussion started by: arorap
14 Replies
3. Programming
I am creating a file to store data, but the file does not get created at all.
#include <unistd.h>
#define DEFAULT_ID 0
int main()
{
int d, n=0;
int sz, data=0;
char fn;
char *bv;
snprintf(fn, 256, "bv", DEFAULT_ID);
bv=fn;
printf("%s\n", bv);
if ((d =... (4 Replies)
Discussion started by: powyama
4 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.
Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies
5. AIX
Hi,
I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers.
where i have to put script and how to run the script.
Waiting for your reply.
Thanks in advance (5 Replies)
Discussion started by: udtyuvaraj
5 Replies
6. Shell Programming and Scripting
i=1
while
do
touch TC$i.txt
i=`expr $1 + 1`
done
echo "files created successfully"
What is wrong with code...its running continuosly... (4 Replies)
Discussion started by: villain41
4 Replies
7. Solaris
Hi to all,
I am facing a strange problem on the Solaris-10 server. I am unable to create/write files on the server. After writing, when I go for the save, then it gives me and 'jag: I/O error'..where 'jag' is a file name. Please suggest me...
Regards,
Jagdish Machhi (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies
8. Shell Programming and Scripting
Hiiii,
here is my script--
BackupLocation="$OPTARG"
if ]; then
echo "Either option l or L should be given to $Programname"
echo "$Usage"
echo "$Programname is terminated"
... (1 Reply)
Discussion started by: namishtiwari
1 Replies
9. Shell Programming and Scripting
I have a home directory namely /pto/ppa/ridbmw/etl/
Now i have various directorys below the home directory. For eg
from the home directory if i say cd /roddata it changes to that directory. I think its kind of link (I don't know if it's hard or soft). Now i need to create a new directory and... (4 Replies)
Discussion started by: dsravan
4 Replies
10. News, Links, Events and Announcements
Hi,
I created a new site called http://www.goodpassword.com to help users and adminstrators create good, random passwords. It also includes .htaccess encryption.
I'd be interested in feedback ie errors, improvements, additions etc.
thanks
DJay (0 Replies)
Discussion started by: djay
0 Replies