Find the answer to your Linux question:
Results 1 to 2 of 2
Hello sir, I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7

    Smile how to start SCRIPT command at START of TERMINAL?

    Hello sir,
    I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ????

    MY WORK TILL NOW:
    I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
    Can u please tell me what to do !!!!!

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    54
    I'd try putting it in the .profile for the user, or perhaps .bashrc or RC script for whatever shell the user has in /etc/passwd.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...