Results 1 to 2 of 2

Thread: start program

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default start program

    Hi, i would like to start a program automatically when i login to linux. Without X-server. is there an easy way to do this?

    Say i want to start ls -l after i login... how can i do that? (without a window manager like kde-autostart)

    thnx for the effort

  2. #2
    Senior Member monk's Avatar
    Join Date
    Jan 2005
    Location
    Tibet
    Posts
    643
    Thanks
    5
    Thanked 43 Times in 38 Posts
    Rep Power
    15

    Default

    Open .bash_profile in your home directory
    Code:
    cd
    vi .bash_profile
    Add a command such as
    Code:
    date
    ls
    Save file. Logout and login again.
    May the force with you!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to compile a c program in freeBSD
    By jkmb in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 0
    Last Post: 21st January 2008, 01:33 PM
  2. is any one good in c program ?
    By oronno in forum Shell scripting
    Replies: 0
    Last Post: 19th September 2007, 01:04 PM
  3. How to pass shell variable to awk program
    By in forum Shell scripting
    Replies: 4
    Last Post: 23rd June 2006, 05:11 AM
  4. HTML Program cannot open in cgi-bin folder
    By sonaikar in forum Linux software
    Replies: 5
    Last Post: 4th February 2005, 04:45 PM

Posting Permissions

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