11-26-2003
Hmmm Lots of Cobol questions over the week....and I thought Cobol was dead.
Since you want to read the file, use "OPEN INPUT". I can't believe that Cobol will try to lock records in input mode.
10 More Discussions You Might Find Interesting
1. IP Networking
Hi...
I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies
2. Shell Programming and Scripting
Hi, is it possible backup more pc share run only one smbtar (like the exclusion)?
This workssmbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup | gzip -c > steapc13.tar.gz also that smbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup test2_nobackup | gzip -c >... (0 Replies)
Discussion started by: mbarberis
0 Replies
3. SCO
Hello there, I have a rather big question, I need to install RMCOBOL on SCO, but i've got absolutely no idea of how to do it, I'm currently installing a server with SCO but the guys forgot to mention that they also wanted the rmcobol thingy... i've been looking on the internet but i cant find a... (1 Reply)
Discussion started by: sx3v1l_1n51de
1 Replies
4. UNIX for Advanced & Expert Users
Hi Everybody,
I just want to know if anyone can help me to increase disk space for my users shared folder... it running out of free space...
Any command that i can use or any otherway to prevent losing disk space from each folder?
Please help...
Thank you. (2 Replies)
Discussion started by: bvillante
2 Replies
5. Shell Programming and Scripting
I have a single Linux Red Hat 8.0 server with two external disk arrays (each a raid) connected via SCSI. The OS/boot/swap is on an internal set of disks and should not be affected by this process.
I need to move all of my data from one disk array to another while keeping all of my 30 or so... (0 Replies)
Discussion started by: kenisswell
0 Replies
6. Red Hat
Hi,
Is there any command in linux to check the remote NFS shares from client machine just like we have dfshares in solaris.
Thanks,
Trimurtulu (1 Reply)
Discussion started by: ktrimu
1 Replies
7. UNIX for Dummies Questions & Answers
So I have Samba installed on my server and I have to create two shares.
Make a backup of your smb.conf - call it smb.conf.orig. Create a share called
shared that allows read and write permissions for everyone and points to
/media/shared.
Create another share called www that points to the... (1 Reply)
Discussion started by: shadowcat
1 Replies
8. UNIX for Dummies Questions & Answers
I have these two shares on my Ubuntu Server:
path = /media/share
read only = no
guest ok = yes
path = /var/www
read only = noI want to mount them to the directories that I created on my
Desktop called "shared" and "www" how do I do this?
I ran the command:
smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies
9. Red Hat
Hi,
I have got nfs shares that were shared from storage (Netapp) to linux servers (RHEL 4) that were on automount.
All the share were visible and mounted on the linux serves eventhough they were on auto mount.
But recently one of the server was rebooted and mount points were disappeard and... (5 Replies)
Discussion started by: phanidhar6039
5 Replies
10. UNIX for Advanced & Expert Users
a) what are the different ways to share files ?
b) How can I get list of file shares on Unix box in my company?
c) How can I get list of files and their content present on all the Unix File shares? (1 Reply)
Discussion started by: vipintanwar
1 Replies
LEARN ABOUT OSF1
rmtrashcan
mktrashcan(1) General Commands Manual mktrashcan(1)
NAME
mktrashcan, rmtrashcan, shtrashcan - Attaches, detaches, or shows a trashcan directory
SYNOPSIS
/usr/sbin/mktrashcan trashcan directory...
/usr/sbin/rmtrashcan directory...
/usr/sbin/shtrashcan directory...
OPERANDS
Specifies the directory that contains files that were deleted from attached directories. Whenever you delete a file in the specified
directory, the file system automatically moves the file to the trashcan directory. Specifies the directory that you attach to a trashcan
directory.
DESCRIPTION
The trashcan utilities (mktrashcan and rmtrashcan) enable you to attach or detach an existing directory, which you specify as a trashcan
directory, to any number of directories within the same fileset.
A trashcan directory stores the files that are deleted with the unlink system call. For instance, you can use the mktrashcan utility to
attach a trashcan directory called /usr/trashcan to one or more directories; thereafter, when you delete a file from one of the attached
directories, the file system moves the file to the /usr/trashcan directory. Note that when more than one directory shares attachment to a
trashcan directory, files with the same file name can overwrite each other in the trashcan directory.
If you mistakenly delete a file, use the mv command to return the file from the /usr/trashcan directory to its original directory.
When you enter shtrashcan at the system prompt, the system shows the trashcan directory, if one exists, for the directory you specified.
It is important that trashcan directories have correct access permissions. If the permissions are too restrictive, then it may be impossi-
ble to remove files from the directories that are attached to the trashcan directory. In general, all users and groups that expect to use
the trashcan directory need write permission to the directory. If unexpected "permission denied" errors occur when deleting files that are
in a directory attached to a trashcan directory, use the chmod command to change the permissions on the trashcan directory.
RESTRICTIONS
The directory and trashcan directories must be in the same fileset; however, you can attach the trashcan directory to any directory within
the fileset.
EXAMPLES
The following example creates and attaches a trashcan directory, /usr/trashcan, to two directories, /usr/ray and /usr/projects/sql/test,
which are in the same fileset. The chmod command adds write permission for all users and groups on the new trashcan directory. % mkdir
/usr/trashcan % chmod a+w /usr/trashcan % mktrashcan /usr/trashcan /usr/ray /usr/projects/sql/test To attach the trashcan directory,
/usr/trashcan, to all subdirectories in the /usr directory, enter: % mktrashcan /usr/trashcan /usr/*
New subdirectories that you add beneath the /usr directory are not attached to the trashcan directory until you attach them. Also,
the mktrashcan utility distinguishes between directories and files, attaching only directories to the trashcan directory.
Note that an attached directory produces an EDUPLICATE_DIRS (-1165) error when /usr/trashcan is itself in the directory path you
attach to (as in the previous example). You can ignore this error message.
SEE ALSO
advfs(4), mkfset(8), showfsets(8)
mktrashcan(1)