#!/bin/bash
#hello world shell script
printchar="hello world"
echo $printchar
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..'
alias beep='echo -en "\\007"'
alias cd..='cd ..'
alias dir='ls -l'
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls='ls $LS_OPTIONS'
alias ls-l='ls -l'
alias md='mkdir -p'
alias o='less'
alias rd='rmdir'
alias rehash='hash -r'
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
alias you='test "$EUID" = 0 && /sbin/yast2 online_update || su - -c "/sbin/yast2 online_update"'
alias ll='ls -lh'
hello.sh com-change.sh |
ls `cat com-change.h` -alh
beyes@linux-beyes:~/shell_sript> ls `cat com-change.sh` -l
-rw-r--r-- 1 beyes users 23 12-15 03:11 com-change.sh
-rwxr--r-- 1 beyes users 79 12-15 02:26 hello.sh
nohup tar -czf file.tar.gz file & // nohup不会自动让程序在后台运行,必须在后面添加 & ,参考" info nuhup"
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |