how to get the file name list with size descriptive in hp-ux
Required output:
permission link user group size(with MB,KB,GB etc) date time name
how to get the file name list with size descriptive in hp-ux
Required output:
permission link user group size(with MB,KB,GB etc) date time name
no luck !! it working fine for linux not HP-UX
Hello,
look at the man pages :
ll gives e.g. :
lr-xr--r-T 1 root sys 18 Sep 16 2004 vtdaemon -> /usr/sbin/vtdaemon
lrwxrwxrwt 1 root sys 20 Sep 16 2004 vtdaemonlog -> /var/adm/vtdaemonlog
lr-xr-xr-t 1 root sys 19 Sep 16 2004 vtgateway -> /usr/sbin/vtgateway
lr-xr-xr-t 1 root sys 18 Sep 16 2004 vtserver -> /usr/sbin/vtserver
drwxr-xr-x 3 bin bin 96 Nov 15 2000 vue
dr-xr-xr-x 11 bin bin 8192 Aug 19 2004 vx
lr-xr-sr-t 1 root sys 14 Sep 16 2004 wall -> /usr/sbin/wall
lr-xr-xr-t 1 root sys 15 Sep 16 2004 whodo -> /usr/sbin/whodo
lrwxrwxrwt 1 root sys 13 Sep 16 2004 wtmp -> /var/adm/wtmp
drwxr-xr-x 2 root sys 96 Aug 19 2004 ximian
-rw-r--r-- 1 root root 0 Aug 21 2010 xtab
lr-xr-xr-t 1 root sys 9 Sep 16 2004 yp -> /usr/sbin
lr-xr--r-T 1 root sys 25 Sep 16 2004 ypbind -> /usr/lib/netsvc/yp/ypbind
lr-xr-xr-t 1 root sys 21 Sep 16 2004 zoneinfo -> /opt/dce/lib/zoneinfo
Regards
thanks friend for your support.there is issue with old version of HP-UX.but it is working fine by using df -ks
Sorry, i am missing something here, I dont see how df can give the desired output when the command is designed for something else: df stands for diskfree ...
Can you explain/show us?
df -ks a
Here, a is my file name
ant:/home/vbe $ ll a
a not found
ant:/home/vbe $ touch a
ant:/home/vbe $ df -ks a
/home (/dev/vg00/lvol5 ) : 494073 total allocated Kb
89256 free allocated Kb
404817 used allocated Kb
81 % allocation used
ant:/home/vbe $ ll a
-rw-rw-r-- 1 vbe bin 0 Nov 21 10:40 a
ant:/home/vbe $
ant:/home/vbe $ uname -rs
HP-UX B.11.11