Logs
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Logs
The most significant log is
/var/log/messages
open a terminal and do
*replace yourusername with the username you use for login
The resulting file can now be found in your home folder
You may need to chown it
/var/log/messages
open a terminal and do
Code: Select all
sudo cat /var/log/messages > /home/yourusername/messages.txt
The resulting file can now be found in your home folder
You may need to chown it
Code: Select all
sudo chown yourusername messages.txt
Linux Mint 21.1 Cinnamon
Re: Logs
mint ~ $ sudo cat /var/log/messages > /home/abc/messages.txt
cat: /var/log/messages: No such file or directory
-mint /var/log $ ls
alternatives.log auth.log.3.gz cups dpkg.log.1 kern.log.2.gz mintUpdate.history speech-dispatcher syslog.7.gz Xorg.0.log.old
alternatives.log.1 auth.log.4.gz dmesg faillog kern.log.3.gz news syslog udev Xorg.20.log
apt boot dmesg.0 fontconfig.log kern.log.4.gz pm-powersave.log syslog.1 ufw.log
aptitude boot.log dmesg.1.gz fsck lastlog pm-powersave.log.1 syslog.2.gz unattended-upgrades
aptitude.1.gz bootstrap.log dmesg.2.gz hp mail.err pm-suspend.log syslog.3.gz upstart
auth.log btmp dmesg.3.gz installer mail.log pm-suspend.log.1 syslog.4.gz wtmp
auth.log.1 btmp.1 dmesg.4.gz kern.log mdm pycentral.log syslog.5.gz wtmp.1
auth.log.2.gz ConsoleKit dpkg.log kern.log.1 mintsystem.log samba syslog.6.gz Xorg.0.log
cat: /var/log/messages: No such file or directory
-mint /var/log $ ls
alternatives.log auth.log.3.gz cups dpkg.log.1 kern.log.2.gz mintUpdate.history speech-dispatcher syslog.7.gz Xorg.0.log.old
alternatives.log.1 auth.log.4.gz dmesg faillog kern.log.3.gz news syslog udev Xorg.20.log
apt boot dmesg.0 fontconfig.log kern.log.4.gz pm-powersave.log syslog.1 ufw.log
aptitude boot.log dmesg.1.gz fsck lastlog pm-powersave.log.1 syslog.2.gz unattended-upgrades
aptitude.1.gz bootstrap.log dmesg.2.gz hp mail.err pm-suspend.log syslog.3.gz upstart
auth.log btmp dmesg.3.gz installer mail.log pm-suspend.log.1 syslog.4.gz wtmp
auth.log.1 btmp.1 dmesg.4.gz kern.log mdm pycentral.log syslog.5.gz wtmp.1
auth.log.2.gz ConsoleKit dpkg.log kern.log.1 mintsystem.log samba syslog.6.gz Xorg.0.log