02-09-2009
10 More Discussions You Might Find Interesting
1. SCO
Hi guys,
I have changed some path in the vi .profile and then i shutdown the system and when i reboot it i was unable to use
vi.
It is showing vi not found.Likewise for few other commands also.
How to solve this problem and make vi work again.
Plz. do provide the answer it is... (3 Replies)
Discussion started by: ananthu_m
3 Replies
2. UNIX for Dummies Questions & Answers
hi,
how can display year parameter also while listing files from a directory?it displyas only if last acces sis more than 1 yr i guess.can it be dispalyed using some option or some method?
thanks and regards
vivek.s (2 Replies)
Discussion started by: vivekshankar
2 Replies
3. Shell Programming and Scripting
I am beginner to UNIX.
I wanted to display 5 filesname with size from BIN directory. The order of display should be descending order in size.
Can help me. (1 Reply)
Discussion started by: giridher2000
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have to append "abc$abc" to the existing data in solaris.When i run my unix script it is writing only "abc" instead of "abc$abc"
Please let me know if we can write $ to the data.Please advice! (2 Replies)
Discussion started by: ammu
2 Replies
5. HP-UX
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
6. Shell Programming and Scripting
Hi,
Am new to unix..i want some help..
when am using ls command like ls-ltr it displaying output like this:
rw-r--r-- 1 infauser dba 36 Jun 16 12:36 s1_midify
-rw-r--r-- 1 infauser dba 66 Jun 16 12:42 sample_one
-rw-r--r-- 1 infauser dba 77 Jun 16 13:05... (3 Replies)
Discussion started by: sujana
3 Replies
7. Shell Programming and Scripting
I have two input files like this:
File-1
-----
a1234 abc town
f2345 def village
t5678 pqr county
File-2
------
123456 test1 test2 test3 id-a1234
789012 test2 test4 id-t5678
456789 test7 id-b1234
I want to check the lines that match the first field of File-1 in... (7 Replies)
Discussion started by: ajay41aj
7 Replies
8. UNIX for Dummies Questions & Answers
I'm unsure about the topic title, but this is what I want to do.
I have a directory, named /opt/extra and and I want it to be displayed when I issue df command. Just by using df only, not df /opt/extra.
OS: Solaris 10
Current df output
root@jebat10 # df -k
Filesystem kbytes ... (3 Replies)
Discussion started by: Olli.Lang
3 Replies
9. Windows & DOS: Issues & Discussions
I created a directory test. But it is not displaying the group name. Windows 2003R2 machine.
drwxr-xr-x 1 vivek 0 0 Sep 2 12:39 test
uid=1073778986(vivek) gid=1073742337(+Domain Users) groups=1073742337(+Domain Users), 65792(+Everyone), 131616(+Administrators), 4095(CurrentSession),... (1 Reply)
Discussion started by: vkk
1 Replies
10. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
STAT(3F) STAT(3F)
NAME
stat, lstat, fstat - get file status
SYNOPSIS
integer function stat (name, statb)
character*(*) name
integer statb(12)
integer function lstat (name, statb)
character*(*) name
integer statb(12)
integer function fstat (lunit, statb)
integer statb(12)
DESCRIPTION
These routines return detailed information about a file. Stat and lstat return information about file name; fstat returns information
about the file associated with fortran logical unit lunit. The order and meaning of the information returned in array statb is as
described for the structure stat under stat(2). The ``spare'' values are not included.
The value of either function will be zero if successful; an error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
stat(2), access(3F), perror(3F), time(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
4.2 Berkeley Distribution May 15, 1985 STAT(3F)