import flash.display.Sprite; import flash.display.Stage; import flash.events.Event; import flash.geom.Point; import zujian.Tank; public class Paodan extends Sprite { private var ball:Ball; private var point:Point=new Point(); private var
The shell is a special program used as an interface between the user and the heart of the operating system, a program called the kernel,The kernel is loaded into memory at boot time, and manages the system until shutdown. It creates and controls
#!/bin/sh#for exm to test# ./check.sh 12 36 25 12 453 1 2 3 RETVAL=0SRRVER_START=1SRRVER_STOP=2DNS_STATUS=1dnsCheck(){ while test "x`pidof dnsmasq`" != x ; do echo "check DNS status...................."
簡介:對於一些要長期啟動並執行程式(如伺服器程式),寫一個監控程式讓在意外退出時自動重啟是很有必要的。這個功能,可以通過一個簡單的SHELL指令碼來實現。#!/bin/shwhile [ 1 ]; do#程式的名字 name="aaa" DTTERM=`pgrep $name`#檢查進程執行個體是否已經存在 if [ ! -n "$DTTERM" ] then echo "restart process: $name and date is: `date`
OverviewThe FileSystem (FS) shell is invoked by bin/hadoop fs <args>. All FS shell commands take path URIs as arguments. The URI format is scheme://autority/path. For HDFS the scheme is hdfs, and for the local filesystem the scheme isfile. The
根據官網教程編寫,親測可用。注意必須使用root許可權運行。#!/bin/bash# This script run the init command for opotimus pc;# Fedora 19;# run as the rootecho 'run as the root'yum -y install vlc#install rpmfusion sourcerpm -ivh