Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Linux


  • Please log in to reply

#1
J0hn

J0hn

    Member

  • Member
  • PipPip
  • 65 posts
So far it's been 2 days with linux. I'm growing a lot into it and enjoying every bit of it. Some of the commands are easy to get by. Some problems I have are compiling sources, but I get by it with time. Anyway, to my questions:

For security reasons. Is there a specific syntax command that I can type and execute to delete all of my logs in the terminal without destroying any file/program/folder/directories? Is there even a such file or directory that logs every key stroke I type in the terminal? If so, where can I find that?

If you ask why I asked this question?

Because I'm concerned about when logged in as user and when you want to gain root access to change or delete a directory, you have to type in the syntax "su" then the password to login as root.

The thing is, if there IS a such folder or file somewhere that logs your keystrokes in the terminal, I would like to know about it so that I can delete it or clear it at every terminal session without leaving a trace.
  • 0

Advertisements


#2
VMM VMX

VMM VMX

    Member

  • Member
  • PipPip
  • 18 posts
what's the problem?
you give this input to the program "su", not to the shell
by the way the sintax of the "command" is "su username" or "su"(this syntax assumes that username=root)
  • 0

#3
dsenette

dsenette

    Je suis Napoléon!

  • Administrator
  • 26,039 posts
  • MVP
to my knowledge...linux doesn't keep a running log of what you type in the terminal...if that was the case...you'd be able to pull up the last command typed after closing the terminal and opening a new one....there's no reason for it to log that info...as tha twould end but being a pretty sizable log file
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP