LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2016, 09:49 PM   #1
ojslayout
LQ Newbie
 
Registered: Jun 2015
Posts: 24

Rep: Reputation: Disabled
Is it okay to clear chkservd.log


Is it okay to clear chkservd.log to get more space for a website?
 
Old 02-02-2016, 10:53 PM   #2
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,599
Blog Entries: 15

Rep: Reputation: Disabled
How big is it?
Code:
ls -lh /path/to/chkservd.log
 
1 members found this post helpful.
Old 02-03-2016, 01:50 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,375

Rep: Reputation: 240Reputation: 240Reputation: 240
Red face

Quote:
Originally Posted by Habitual View Post
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
 
Old 02-03-2016, 09:46 AM   #4
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,599
Blog Entries: 15

Rep: Reputation: Disabled
TripleJ CR:
Code:
df -h
gives you partition info, not file size.

Peace!
 
Old 02-03-2016, 07:48 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,375

Rep: Reputation: 240Reputation: 240Reputation: 240
Question

Quote:
Originally Posted by Habitual View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clear All LOG Files Kramerica Linux - Server 2 06-22-2012 01:19 PM
how to i clear all my apache log files? steve51184 Linux - Server 13 01-12-2011 02:40 AM
How to clear Log data paragkalra Linux - Security 2 10-05-2007 03:43 AM
HOW TO: clear the console log? markg85 Linux - General 7 05-04-2006 04:42 AM
Eays way to clear a log file? extremebfn Linux - General 2 01-16-2005 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration