r/hackthebox • • Sep 17 '23

Linux fundamentals

How many files exist in the file log?

0 Upvotes

11 comments sorted by

3

u/AlternateNickname Sep 17 '23

Files log? What exactly are you talking about?

0

u/EthicalCyber Sep 18 '23

How many files exist on the system that have the ".log" file extension?

3

u/Janzu93 Sep 18 '23

Depends on the system.

.log is just like any file extension, any application could save a painted file with .log extension to help distinguish it from any other text file

2

u/hyperactivereindeer Sep 18 '23

Go into a Linux box and find out.

3

u/[deleted] Sep 18 '23

[removed] — view removed comment

-6

u/EthicalCyber Sep 18 '23

I was able to get it done, thank you. Now I'm stuck, answer the following question, "what is the index number of the "sudoers" file in the "/etc" directory?

12

u/nap4lm69 Sep 18 '23

Sorry man, I don't mean to be a dick here. I'm also pretty new trying to work my way to knowing what the hell I'm doing. However, for you to become better, you're going to have to work on your Google skills. No one can really be great at all of this, but if there's one thing you do want to be great with it's the ability to bend Google responses to what you need.

3

u/0xffr1s1n Sep 18 '23

This ⬆️ is the way. I finished it a long time ago. I’m proficient at Linux but there where a couple of questions at the end and google was my saviour.

1

u/[deleted] Sep 18 '23

Use chat gpt for the specifc command ur looking for.

1

u/[deleted] Sep 18 '23

You’ll never learn anything if you keep asking on Reddit for solutions . Google it . Read the module again. Google again.