Countdown script in Batch file
Restart Computer Example:
for /L %%a in (
15,-1,0
) do (
echo Your Computer will reboot in %%a seconds…
ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE
Hide CMD Window when running a batch file
Open Notepad and enter the following:
Set ws = CreateObject("Wscript.shell")ws.run "your.bat",vbhide
Then save as a vbs file "your.vbs"
Close SELINUX (Needn’t reboot Linux)
Edit /etc/sysconfig/selinux
………….
#SELINUX=enforcing
SELINUX=disabled
…..
:wq
Then run commont "setenforce 0"
Batch download FTP files
ftp>prompt
ftp>mget *.*
or
lftp ftp://xxxx.xx
mirror
Apache IndexesDirectory Charset
Create a .htaccess file at the root directory of website
Add "IndexOptions Charset=GB2312" and save it.
Finished.
Test
Windows Live published a new module that can associate the Windows Live, Flickr, Wordpress, Facebook and so on.
Kill User Connections
pkill -kill -t (user’s pts)
Hushlogin
touch .hushlogin


