10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
in example.txt file is below
ADD PDU:SRN=0,PDUID=LOCAL,NAME="PDU_0",PSV=LOW,MOG="PUBLIC",REFERABLE=YES;
ADD PDU:SRN=2,PDUID=LOCAL,NAME="PDU_1",PSV=LOW,MOG="PUBLIC",REFERABLE=YES;
ADD MODULE:MID=84,MT=DSU,SRN1=0,SN1=4,MNAME="DSU84";
ADD MODULE:MID=85,MT=DSU,SRN1=0,SN1=4,MNAME="DSU85";
How to... (2 Replies)
Discussion started by: swensens
2 Replies
2. Solaris
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies
3. Shell Programming and Scripting
Hello everyone,
I am trying to write a script that will accomplish the following:
- query current system time and store result into a variable
- wait for some amount of time, say 300 seconds
- reset system time to earlier queried time + 1 second
I did some basic shell scripting (CSH... (11 Replies)
Discussion started by: xaiu
11 Replies
4. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
5. Solaris
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)
Discussion started by: brizrobbo
4 Replies
6. Shell Programming and Scripting
Is there a way to adjust spacing of a line using k shell?
e.g I have a file below
$ cat file1
AAA BBB CCC
A B C
AAAA BB CC
I want each word to be adjusted with spaces to have 10 character length like below:
AAA BBB CCC
A B C
AAAA BB CC
Any... (4 Replies)
Discussion started by: stevefox
4 Replies
7. UNIX for Advanced & Expert Users
Hi all...
i have a question, and i don`t know what to do ... i have a flat file what is separated by ";" and i need format it... here is an example:
this is what i have:
AAA ; BBB ; 1 ; 1.1 ; 1.2 ; 1.3 ; 2 ; 2.1 ; 2.2 ; 2.3 ; 3 ; 3.1 ; 3.2 ; 3.3 ; .......
.........
there are a lot of... (4 Replies)
Discussion started by: DebianJ
4 Replies
8. UNIX for Advanced & Expert Users
hi...
i have a big problem, and i don't know how to solve it.
here is the thing: i have 12 files, which are flat files, with several records(lines), and each record has 3 fields, wich are separated by pipe (|), something like this:
file 1:
33|12|2000
33|22|3000
66|24|3000
99|48|4000... (7 Replies)
Discussion started by: DebianJ
7 Replies
9. Shell Programming and Scripting
Enclosing a script that is used everyday for database shutdown. In here you will find some code that checks oracle version.
That part is very unnecessary since we use only 8.1.7 and will never go back.. Can anyone help me by modifying the code, to
never use that part and readjust so script does... (1 Reply)
Discussion started by: ST2000
1 Replies
10. Filesystems, Disks and Memory
I have a doubt with an error message, and i want to be sure if this is a normal situation or not.
Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies