I want to list users who have been logged on for more days on Linux with
I'm not really sure how can I check users logged in for more days.
I believe you can do
last -F, you could also try
last -p YYYYMMDDhhmmss if you want to check a specific time.
Hope this helps!