Nxl67002 - AndLinux - Files: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎AndLinux files: Sorted according to directory)
Line 251: Line 251:
alias df='df -h'
alias df='df -h'
alias du='du -h'
alias du='du -h'
alias grep='grep --color' # show differences in colour
alias grep='grep --color' # show matched string in colour
alias egrep='egrep --color' # show differences in colour
alias egrep='egrep --color' # show matched string in colour
alias fgrep='fgrep --color' # show differences in colour
alias fgrep='fgrep --color' # show matched string in colour
alias l='ls -l' # long list
alias l='ls -l' # long list
alias la='ls -A' # all but . and ..
alias la='ls -A' # all but . and ..
Line 332: Line 332:
########################
########################
# Set a default prompt of: user@host and current_directory
# Set a default prompt of: user@host and current_directory
PS1='\[\e]0;\w\a\]\n\[\e[01m\e[34m\]\u@\h \[\e[0m\e[33m\]\w\[\e[0m\]\n\$ '
PS1='\[\e]0;\w\a\]\n\[\e[0m\e[35m\]\u@\h \[\e[0m\e[33m\]\w\[\e[0m\]\n\$ '
export PS1
export PS1
</source>
</source>
Line 392: Line 392:
SETUID 37;41 # file that is setuid (u+s)
SETUID 37;41 # file that is setuid (u+s)
SETGID 30;43 # file that is setgid (g+s)
SETGID 30;43 # file that is setgid (g+s)
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
STICKY_OTHER_WRITABLE 01;37;42 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
OTHER_WRITABLE 01;37;43 # dir that is other-writable (o+w) and not sticky
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
STICKY 01;37;44 # dir with the sticky bit set (+t) and not other-writable
# This is for files with execute permission:
# This is for files with execute permission:
EXEC 32
EXEC 32
Line 532: Line 532:
# SSH settings
# SSH settings
##############
##############
eval `/usr/local/bin/ssh-agent-refresh.sh` >/dev/null
eval `ssh-agent-refresh.sh` >/dev/null
if ( ! ( ssh-add -L | grep -q $USER ) ); then ssh-add; fi
</source>
</source>
}}
}}
Line 552: Line 551:
vnoremap m l
vnoremap m l
vnoremap h m
vnoremap h m
set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
set autoindent
"set autoindent
set smartindent
"set cindent
"set cinkeys=0{,0},:,0#,!,!^F
</source>
</source>
}}
}}

Revision as of 22:40, 16 November 2009

These are the configuration files on Configuration NXP Dell Latitude D620 - AndLinux.

Windows Host files

settings.txt

AndLinux files

Directory /etc

Directory /usr/local/bin

be - This script would ideally require to add the following line to /etc/sudoers:

ALL ALL=(ALL) NOPASSWD: /bin/loadkeys

directory ~

.bashrc - Everything before #### CUSTOMIZATION is the original file.

Directory ~/.ssh

Directory ~/etc

crontab - Install this file with

crontab -u beq06659 ~/etc/crontab

Directory ~/bin

backup_noekeon - This file must be chmod +755.