|
ECS Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | shell cmd to determine a file's size ? Mark Gilmore Thu, 26 Feb 2004 13:35:52 -0800 |
Thu, 26 Feb 2004 13:35:52 -0800
I need a shell to determine if XWindows is running.
If I do this:
ps -aux | grep xinit > x.tmp
then x.tmp will contain a line like this *if* X is running:
root 4318 0.0 0.5 2224 756 tty1 S 03:51 0:00 xinit
If not, x.tmp will be empty.
But what shell command would tell me the file's size ?
Thanks,
Mark Gilmore
http://OmnipotenceSoftware.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 2/20/2004
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects