10 More Discussions You Might Find Interesting
1. Programming
Assume in 1.txt file ,i have saved 32
writer.c
-----------
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include<stdlib.h>
#include<fcntl.h>
int main(){
int shm_id;
key_t mem_key;
int *shm_ptr;
int fd=open("1.txt",O_CREAT|O_RDWR,0777);
mem_key =... (2 Replies)
Discussion started by: subi09
2 Replies
2. Shell Programming and Scripting
Hi,
I have tar ball "data.tar" which consists of many files from different directories.
If I untar a file using following command, it will untar file to location /input/data
tar -xvf data.tar /input/data/abc.txt
I want the file to be untar in current directory and or any other... (3 Replies)
Discussion started by: pinnacle
3 Replies
3. Shell Programming and Scripting
Hi .,
I have 3 records in a oracle table... wen i connect to oracle from unix environment and query the table i get some errors...
the script i used is
g=`sqlplus -s "username/password" << EOF
select column from table;
EOF`
if
then
echo $g
fi
The output i get... (1 Reply)
Discussion started by: cratercrabs
1 Replies
4. Shell Programming and Scripting
hi
I am using this command
pax -f /Unix/codes/code.tar -r -s::/Unix/archive:
objective is to transfer tar file /Unix/codes/code.tar to /Unix/archive with untarring done . For this reason i am using pax and not tar -xvf as we cant specify untarred destination in that
the problem is... (2 Replies)
Discussion started by: ultimatix
2 Replies
5. AIX
Dear all experts online,
In my environment of AIX 5300-07, I am currently using "pax" command to backup all filesystems that I need to backup and it will take me around 4 hours time with LTO3 tape drive.
When I need to verify the tape after backup, I am using "pax" command to list all files in... (2 Replies)
Discussion started by: kwliew999
2 Replies
6. Linux
This is the error that I am getting while retrieving image from image server using system imager....
Listening on LPF/lo/<null>
sending on Socket/fallback/fallback-net
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval5... (1 Reply)
Discussion started by: nitesh_tarbani
1 Replies
7. UNIX for Advanced & Expert Users
we created a TAR file ( souce /opt/oracle/10.2) . If we want to extract it diff directory say (/tmp) . I know we can use pax to do this .but inside TAR we have absolute path ref . if we pax does it replaces absolute path in TAR ?
Thanks (1 Reply)
Discussion started by: talashil
1 Replies
8. AIX
I have problem when I use the command "pax -awvf /dev/rmt0 ./data1" in AIX 5.3.0.0. The command with parameter -a allow me to append the tape but when I try to retrieve the data that I append, it will show me error.
I would like to know if anyone have the same problem and any solution found?
Tq. (0 Replies)
Discussion started by: kwliew999
0 Replies
9. UNIX for Dummies Questions & Answers
I am having trouble with the pax command on Saris. I want to sue it to untar a file to a different directory. So if mytar.tar conatins files that were in /u02/mydir/mydir2/mydir3, I want to untar them to /export/home/mydir.
An example I have is:
pax -r -s... (2 Replies)
Discussion started by: hshapiro
2 Replies
10. AIX
I have AIX5.1
I have tried to retrieve a file from tape with no sucsess. I had this posted in the newbies section but I think I should have tried here. I did get some good info there though on where to start. This Is what I did.
My back line is so...
cat /rd/tmp/backuplist.full | cpio -ocvBdum... (1 Reply)
Discussion started by: rocker40
1 Replies