well basically I am trying to produce a menu with 3 options, 1 displaying usernames of people on the system another option to display bash history and a third to display a message confirming that there is a Firefox Internet history log present on the system for a given User. So far I have

  PS3= "Enter command: "
  select cmd in who history 

this will display the users and the history of the user just not sure how to get the internet history part in the third line everything else works fine

help would be much appreciated!

Recommended Answers

All 2 Replies

  1. You need to remove the space between the "PS3=" and the prompt. Also, this just sets an environment variable. It does not output the prompt.

So, propose some alternative options that we can comment on.

"internet history" from cli history file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.