Root/data/qi_lb60/files/etc/profile

1#!/bin/sh
2[ -f /etc/banner ] && cat /etc/banner
3
4export PATH=/bin:/sbin:/usr/bin:/usr/sbin
5export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
6export HOME=${HOME:-/root}
7export PS1='\u@\h:\w\$ '
8
9export SDL_NOMOUSE=1
10export SDL_VIDEODRIVER=fbcon
11
12[ -x /bin/more ] || alias more=less
13[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
14
15[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
16
17[ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
18[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
19

Archive Download this file



interactive