![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| export equivalent command in PERL | ammu | Shell Programming and Scripting | 1 | 09-17-2007 12:46 PM |
| equivalent of ptree command in zsh | dhams | Shell Programming and Scripting | 3 | 09-11-2007 04:07 PM |
| Command equivalent to DOS mode for SCO 5.0.6 | jgt | UNIX for Advanced & Expert Users | 3 | 05-11-2007 04:10 AM |
| SQL Spool equivalent command in DOS | stevefox | Windows & DOS: Issues & Discussions | 2 | 01-17-2006 06:18 PM |
| stat command | emreatlier | Shell Programming and Scripting | 2 | 08-14-2003 01:03 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Equivalent command to 'stat'
Can anyone tell me which is the equivalent command to
'stats' in ksh shell which discribes the file system? Thanks in advance Regards, Im_new |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
What's "stats" (OS, example, etc.)?
|
|
#3
|
|||
|
|||
|
stat -c %s test.txt
this command gives me size of the test.txt on GNU/Linux But on Sun sol I'm nt bale to use this command. Need equivalent command to it... Thanks im_new |
|
#4
|
|||
|
|||
|
here you go
Code:
# du -b file |cut -f1 Code:
# ls -l file| awk '{print $5}'
Code:
# wc -c file | cut -f1 Last edited by ghostdog74; 12-27-2007 at 03:34 AM. |
|||
| Google The UNIX and Linux Forums |