Cara Mereset Ukuran File Log Ubuntu

Rsyslog di /var/log ubuntu saya tiba-tiba membengkak menjadi 55GB mau tidak mau hal tersebut membuat kapasitas SSD saya yang hanya 240GB habis dalam waktu sekejap. Akhirnya saya harus mereset file tersebut menjadi 0 agar laptop saya bisa berjalan lancar lagi. Bagaimana caranya?

Berikut Cara Reset File Size Log Ubuntu, Contoh RSYSLOG:
1. buka Terminal
2. jalan perintah berikut di terminal:
sudo truncate --size 0 <filename>

contoh:
sudo truncate --size 0 syslog

3. selesai

2 Responses to "Cara Mereset Ukuran File Log Ubuntu"

  1. can you get headaches if you stop drinking alcohol is a hallucinogenic drug. This means that when consumed, it causes the user to have unusual experiences such as hearing sounds, seeing illusions, and feeling things that are not actually there. A drug with an extensive history of both medicinal and recreational use, LSD use does not come without risks. An acid trip can last 12 hours or more, and when it goes wrong it can go terribly wrong. This substance is common at raves, parties, and music festivals, so knowing what acid looks like and understanding the risks is imperative, especially for young adults and teenagers.

    BalasHapus
  2. The detox northern california stage is the initial phase in treating liquor addiction. Withdrawal indications normally die down inside around one to about fourteen days subsequent to beginning detox; be that as it may, this could take longer relying upon the seriousness of your Alcohol Use Disorder (AUD). From that point, you will actually want to zero in on different parts of the recuperation cycle, like various exercises, treatments, advising meetings, and backing choices.

    BalasHapus