Skip to content

Tech Support

Make it accessible

  • Home
  • Email
  • PBX
  • Home
  • Email
  • PBX

How to clear files contents in Linux

  1. Logon on to your server – ssh root@192.168.100.100
  2. Navigate to the folder. cd /content/logs
  3. Type du -sh to view storage in GB for the folder.
  4. To clear the contents for file name : log-we.log
    • echo “” > log-we.log

Tags: linuxpassword

Share
August 15, 2024 by gravity_support Linux 0

You may also like...

  • SQL ERROR Vtigercrm

    SQL ERROR Vtigercrm

  • Installing PHP 7.1 on Centos 7

    Installing PHP 7.1 on Centos 7

  • Netinstall Issabel

    Netinstall Issabel

Leave a Reply Cancel reply

You must be logged in to post a comment.

  • Previous Auto dialer – Issabel –

Recent Posts

  • How to clear files contents in Linux
  • Auto dialer – Issabel –
  • Magnus Billing Installation
  • Zimbra 9 issue
  • Laravel

Recent Comments

No comments to show.

Tech Support © 2025. All Rights Reserved.

Powered by WordPress. Theme by Alx.