![]() |
2009-12-27
, 00:30
|
Posts: 486 |
Thanked: 251 times |
Joined on Oct 2009
|
#2
|
Hi,
I'm a beginner in command line and I'm a bit lost with Maemo's shell : I'd like to create basic aliases for my N900 (alias ll = 'ls -l', that kind of stuff).
Apparently the default shell doesn't have a .bashrc, so I don't know where to put my aliases.
How to apply the changes afterwards, too ? (sounds like there isn't "source" either)
Thanks
echo 'alias ll="ls -l"' > /home/user/.profile
source /home/user/.profile
The Following 5 Users Say Thank You to j.s For This Useful Post: | ||
![]() |
2009-12-27
, 00:42
|
Posts: 139 |
Thanked: 32 times |
Joined on May 2008
@ France
|
#3
|
![]() |
2010-04-22
, 18:48
|
Posts: 393 |
Thanked: 67 times |
Joined on Feb 2010
|
#4
|
![]() |
2010-04-22
, 19:16
|
Posts: 5,795 |
Thanked: 3,151 times |
Joined on Feb 2007
@ Agoura Hills Calif
|
#5
|
![]() |
2010-04-22
, 21:50
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#6
|
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2010-04-22
, 23:54
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#7
|
The Following 3 Users Say Thank You to lma For This Useful Post: | ||
![]() |
2010-09-29
, 16:56
|
|
Posts: 361 |
Thanked: 219 times |
Joined on Sep 2010
|
#8
|
Warning: a bogus .profile can render the device non-bootable so be very very careful when editing it, and make sure you have a recent backup in case you need to reflash.
![]() |
2010-09-29
, 18:39
|
Posts: 166 |
Thanked: 30 times |
Joined on Apr 2010
@ Halifax, UK
|
#9
|
Warning: a bogus .profile can render the device non-bootable so be very very careful when editing it, and make sure you have a recent backup in case you need to reflash.
I'm a beginner in command line and I'm a bit lost with Maemo's shell : I'd like to create basic aliases for my N900 (alias ll = 'ls -l', that kind of stuff).
Apparently the default shell doesn't have a .bashrc, so I don't know where to put my aliases.
How to apply the changes afterwards, too ? (sounds like there isn't "source" either)
Thanks