![]() |
2006-08-04
, 13:45
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#2
|
The Following User Says Thank You to fpp For This Useful Post: | ||
![]() |
2006-08-04
, 14:12
|
Posts: 57 |
Thanked: 5 times |
Joined on Nov 2005
@ Belgium
|
#3
|
![]() |
2006-08-04
, 14:48
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#4
|
Hi,
Thanks for the detailed explanation. Indeed it works !
The question now is, how could the : sh --login be automated ?
Concerning bash packet, I couldn't find it for the OS2006. Anybody knows where to find ?
Your remark : You can do the same in /home/root for when you "sudo su -", I don't get it :-(.
![]() |
2006-08-04
, 15:33
|
Posts: 19 |
Thanked: 1 time |
Joined on Jul 2006
|
#5
|
![]() |
2006-08-04
, 20:48
|
Posts: 264 |
Thanked: 28 times |
Joined on May 2006
|
#6
|
export VISUAL=/bin/vim umask 022 export PATH=$PATH:~/bin # alias ll='ls -l' alias l='ls -lA' # # Some more alias to avoid making mistakes: alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' cd $HOME
The Following User Says Thank You to BanditRider For This Useful Post: | ||
![]() |
2006-08-04
, 21:12
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#7
|
![]() |
2006-08-04
, 21:31
|
Posts: 57 |
Thanked: 5 times |
Joined on Nov 2005
@ Belgium
|
#8
|
![]() |
2006-08-04
, 21:33
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#9
|
![]() |
2006-08-05
, 12:43
|
Posts: 264 |
Thanked: 28 times |
Joined on May 2006
|
#10
|
I would like to know the following things :
- as being a standard Nokia 770 user, I have seen that the default shell (see /etc/passwd) for the user (called user) is /bin/sh. As far as I remember this means 'Bourne Shell'. So I start playing with Bourne Shell.
Two questions :
- howto add extra directory locations to the environment variable PATH (that stays there too after reboot) with the OS 2006 ?
- howto install / configure bash so I could start real bash scripting ?
Cheers, Jan
On the Nokia 770 OS 2005 I remember I started with some scripting (based on the information posted on the wiki about using xterm). However, how to do it on the OS 2006 ?
Currently vi is standard available in the OS 2006.
Which steps has to be taken in order to start scripting ?
Cheers, Jan