Bash/shellに投稿されたコード一覧
#実行権限 chmod +x raspbian.sh #init apt -y update apt -y upgrade
##バックアップ #sudo apt install deja-dup #sudo chmod +x ./XubuntuCus.sh #sudo ./XubuntuCus.sh
#!/bin/sh ./hspcmp $1 -o$1.ax printf "#!/bin/sh\n./hsp3 %s" $1.ax > $1.sh chmod u+x $1.sh ./hsp3 $1.ax
renice -xx -p `ps -ef | grep "java" |grep -v "SCREEN" |grep -v "grep" |awk '{print $2}'`
PS1='\a\h:\w \u$ ' PS1='\a\h:\W \u$ '
$ sudo curl -o /usr/local/bin/css2less https://raw.github.com/sickill/css2less/master/css2less.rb$ $ sudo chmod a+x /usr/local/bin/css2less
grep hayano hayano.html |grep status |grep 2011 |sed -e s%^.*blank\"\>%% -e s%"</a>"$%% |sed -e s%/%" "%g -e s%:%" "%g
#! /bin/sh # # spawn-fcgi Start and stop FastCGI processes # # chkconfig: - 80 20