Skip to main content
4 events
when toggle format what by license comment
Jan 1, 2023 at 2:51 comment added user668687 Thanks so much for the info. I added the detail to the body of the answer. Believe or not this might be helpful for a newcomer stuck at somewhere just like me!
Jan 1, 2023 at 2:50 history edited user668687 CC BY-SA 4.0
added 559 characters in body
Dec 31, 2022 at 20:33 comment added telcoM In the Linux world, there is almost always many ways to achieve a specific goal. The user's command history is normally stored in a file named .bash_history, located in the user's home directory. Instead of using su username, you could have done a less ~username/.bash_history to view username's command history as root, for example. Or you could have used the commands locate or find to find the exact path of the file you were looking for, if you remembered even a part of its name. Or you could've checked the logs at /var/log/ and probably found a helpful error message.
Dec 31, 2022 at 20:06 history answered user668687 CC BY-SA 4.0