babak
05-07-2002, 06:56 PM
Hi
Which command do I need to type in SSh to see how big a file is?
And how can I see how big is Mysql of my clients?
TNX
Regard,
babak
ffeingol
05-07-2002, 07:03 PM
These are not "ssh" commands. The are *nix and mysql commands.
to get the details of a file it's,
ls -l filename
If you have mysqladmin installed on the server, you can get a lot of details about the table/db size from it.
Frank
babak
05-07-2002, 07:20 PM
:D TNX :D
I get the folowing output: 2024 and the date and etc...
Is 2024 Byte or KB?
Regard,
babak :rolleyes:
ffeingol
05-07-2002, 08:02 PM
bytes. Try "man ls" ;) Man is your friend. Man-ual pages.
Frank
mindyloo
05-07-2002, 08:52 PM
And big refernce books are very helpful too. I definately recommend something like "Unix Unleashed" which is online at
http://pluto.phys.nwu.edu/~zhaoyj/learn/Unix-system/toc.htm
Work through the Unix tutorial so you know how to get around on the system. GUI's can be a helpful tool, but you'll be a far better sys admin with some command line knowledge under your belt.
Unix knowledge rocks. But without command line knowledge, you may as well just stick to windoze.
:o
kunal
05-08-2002, 06:54 AM
Hey,
I would use the 'ls -lh' command so that it shows the listing in the kilobites format ;)
kunal