10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm using ln 'myfilepath' 'newlocationpath' to create a hard link to a file, but how can I rename the file afterwards? (4 Replies)
Discussion started by: fhill2
4 Replies
2. 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
3. Shell Programming and Scripting
Using KSH, I have one text file which just contains a list of distinct references on each line, e.g.;
123456789
987654321
15457544X
164450200
etc. The file will always be called "InputRefs.txt".
The number of distinct refs will be different each time.
For each line (distinct ref) I... (1 Reply)
Discussion started by: b.hamilton
1 Replies
4. HP-UX
I am trying to link 2 directories using:
ln -s /net/<hostname>/srcdir/ /net/<desthostname>/dstdir/
I get the following error:
ln: /net/<desthostname>/dstdir: Function is not available
What is it that i am trying to do wrongly in the above operation?
Please use next time code tags (3 Replies)
Discussion started by: Amit Kulkarni
3 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 recently got a problem with a program. It said that Create a file using shell script and insert details in it and take a String from the user and see whether it matches with any of the details of the String. I know how to create a file, insert details, but hw to check whether the String matches... (2 Replies)
Discussion started by: ramj
2 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. UNIX for Dummies Questions & Answers
hello,
Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux).
I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am trying to burn a directory containing some install scripts/executables etc onto a cd.
I am using redhat v7.0.
I have tried using mkisofs, but so far have not been able to get the case of the filenames to be correct.
one file is called: startInstaller
but it always comes out as... (1 Reply)
Discussion started by: ghoti
1 Replies