LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Is it okay to clear chkservd.log (https://www.linuxquestions.org/questions/linux-server-73/is-it-okay-to-clear-chkservd-log-4175569055/)

ojslayout 02-02-2016 08:49 PM

Is it okay to clear chkservd.log
 
Is it okay to clear chkservd.log to get more space for a website?

Habitual 02-02-2016 09:53 PM

How big is it?
Code:

ls -lh /path/to/chkservd.log

JJJCR 02-03-2016 12:50 AM

Quote:

Originally Posted by Habitual (Post 5491890)
How big is it?
Code:

ls -lh /path/to/chkservd.log

didn't know that ls -lh can take the size of a file. But I was fond of using df -h :)

Habitual 02-03-2016 08:46 AM

TripleJ CR:
Code:

df -h
gives you partition info, not file size. :)

Peace!

JJJCR 02-03-2016 06:48 PM

Quote:

Originally Posted by Habitual (Post 5494110)
TripleJ CR:
Code:

df -h
gives you partition info, not file size. :)

Peace!

Yes, I was using it to get partition info. I didn't know that ls -lh will give the file size. :)

Need to use Linux a lot to be more familiar.


All times are GMT -5. The time now is 08:04 AM.