View Single Post
Old 08-25-2012, 05:49 PM   #90
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
My myts

ssh in then:
Quote:

#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
Linux kindle 2.6.26-rt-lab126 #5 Thu Sep 8 22:30:01 PDT 2011 armv6l unknown
root@kindle:root> nano /mnt/us/myts/profile (or vi for you)

Code:
export TERM=xterm
if [ -f /mnt/us/myts/.bashrc ]; then
    source /mnt/us/myts/.bashrc
fi
root@kindle:root> nano /mnt/us/myts/.bashrc (or vi)


Quote:
source /mnt/us/myts/.alias
uname -a
#
export LD_LIBRARY_PATH=/mnt/us/usr/lib:/usr/lib:/lib:/mnt/us/lib
export PATH=/mnt/us/usr/local/bin:/mnt/us/usr/bin:/mnt/us/bin:/mnt/us/usr/sbin:/mnt/us/sbin:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/mnt/us/home/root
#export LD_PRELOAD=/mnt/us/usr/lib/libz.so.1
#export SDL_VIDEODRIVER=aalib
export PERL5LIB=/mnt/us/usr/lib/perl5/5.12.4:$LD_LIBRARY_PATH:/mnt/us/usr/lib/perl5/5.12.4/
arm-unknown-linux-gnueabi
root@kindle:root> nano /mnt/us/myts/.alias (or vi)

Quote:
alias ..='cd ..'
alias ls='ls -F --color'
alias ll='ls -FAlsh --color'
#
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
#
alias du='du -sh'
alias df='df -h'
alias cdz='cd /mnt/us'
Hope that helps me and others remember handy tips.

Thanks to the kindle Kindlet thread, Matan, Niluje, Knc1, Gm et al.

Last edited by twobob; 09-10-2012 at 12:23 PM.
twobob is offline   Reply With Quote