Help with Debian (PATH & QUOTA)

Discussion in 'Site & Server Administration' started by izlik, Oct 22, 2008.

  1. #1
    hello

    use latest debian release and i have a script called "max.sh" with tars up the files of the user, now when im logged in as "max" i would like this script to be executed everytime i type "tar_files" or someting like that and it should not mather where on the computer i am at the moment. i understood i have to edit /home/max/.bash_profile to be able to achive this, but what to i write here to get this to work?

    also, i installed "apt-get install quota" and want to be able in my terminal window as root to write "setquota user1 user2 user3 ammount", i heard there is a setting to be able to do this but how ?
     
    izlik, Oct 22, 2008 IP