LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08: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, 09:53 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 08:46 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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

Peace!
 
Old 02-03-2016, 06:48 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,158

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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



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 12:19 PM
how to i clear all my apache log files? steve51184 Linux - Server 13 01-12-2011 01:40 AM
How to clear Log data paragkalra Linux - Security 2 10-05-2007 02:43 AM
HOW TO: clear the console log? markg85 Linux - General 7 05-04-2006 03:42 AM
Eays way to clear a log file? extremebfn Linux - General 2 01-16-2005 04:05 AM

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

All times are GMT -5. The time now is 04:05 PM.

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
Open Source Consulting | Domain Registration