# vi ~/.bashrc
alias ll='ls -l'
alias la='ls -A'
# F=classify (append file type indicators), p=append directory indicator,
# s=print file sizes, h=sizes human readable, C=list by columns,
# 1=list in single column, X=sort by extension, S=sort by size,
# t=sort by modification time, u=sort by access time, r=reverse sort
#alias l='ls -psh1X'
alias l='ls -FshC'
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -iv'
# don't overwrite files when redirecting output
set -o noclobber
# g=highlight search, I=ignore case, M=long prompt,
# S=chop long lines (don't fold/wrap), Q=quiet (no bell),
# w=highlight first unread line after scroll, ~=don't show tilde at EOF,
# #n=shift n step(s) when scrolling horizontally
alias less='less -gIMSQW~#2'
No comments:
Post a Comment