10 More Discussions You Might Find Interesting
1. Programming
Hi,
I have 5 files as below
$ ll sam*
-rw-rw-rw- 1 sam ugroup 0 Mar 21 06:06 sam3
-rw-rw-rw- 1 sam ugroup 0 Apr 3 22:41 sam2
-rw-rw-rw- 1 sam ugroup 17335 Apr 10 06:07 sam1
-rw-rw-rw- 1 sam ugroup 5 Apr 10 07:53 sam5
-rw-rw-rw- 1 sam ugroup 661 Apr 10 08:16 sam4
I want to list out... (4 Replies)
Discussion started by: sam05121988
4 Replies
2. Shell Programming and Scripting
I am limited to using only libraries that come with the default install of ActivePerl. I'd like to be able to determine the content type of a file on the fly. I thought CGI.pm might do it, but it looks a little weird to me from the perldoc. If someone has a quick way to determine the type of... (4 Replies)
Discussion started by: mrwatkin
4 Replies
3. Solaris
I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following
Global zone vs local zone
Sparse local zone vs Whole Root local zone
Can anyone advise? Thanks-In-Advance!! (2 Replies)
Discussion started by: ckmehta
2 Replies
4. Shell Programming and Scripting
I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file contents?
For example, I opened one of the files using an editor. After scrolling to the end of the... (2 Replies)
Discussion started by: daflore
2 Replies
5. HP-UX
Good day
I need create new mount points on a server. I'm not very familiar with HP-UX and was given steps on how to go about doing the mounting, etc.
Before I start though, I need to determine which file system type is currently being used. This will determine whether i need to extend the... (3 Replies)
Discussion started by: notreallyhere
3 Replies
6. Shell Programming and Scripting
Hi there,
I wonder if it is possible the determine a name of a directory which is different on various hosts.
Let me try to explain.
I have the directory /tmp/dir1/dir2/canchangedir.
This directory name is different on various hosts.
I need to use the directory name, independent from the... (2 Replies)
Discussion started by: ejdv
2 Replies
7. UNIX for Dummies Questions & Answers
I've tape which I've to use to restore data. The problem is that I don't know what type of backup I have on this type. Can someone help me and tell me how can I determine what type of backup is on the tape?
Thanks for your help. (2 Replies)
Discussion started by: fraydey
2 Replies
8. Shell Programming and Scripting
edited and removed (0 Replies)
Discussion started by: mdpalow
0 Replies
9. Shell Programming and Scripting
Can anybody please tell me how can I determine whether a file is SYMBOLIC LINK, using the stat() function ?
So far I have this:
my @attrs = stat($fileName);
my $mode = $attrs;
What next ? (1 Reply)
Discussion started by: the_learner
1 Replies
10. AIX
I have 2 UNIX boxes and I need to determine whether or not they possess the same tape drive. What is the hardware command to determine what type of tape drive is present? Thx in advance. (4 Replies)
Discussion started by: Surdeymon
4 Replies