rain1024 / gVim-Pathogen

My Coding Life
http://rain1024.github.io/gVim-Pathogen
2 stars 0 forks source link

Windows #10

Open rain1024 opened 10 years ago

rain1024 commented 10 years ago

1. Kernel

Process Management

:: kill task by name
taskkill /F /IM nmap.exe

Monitoring

Storage

RENAME     RENAME filename1 filename2 Renames a file or files.

RENAME file1 file2 => file1's name change to file2

2. Networking

Change DNS

:: show dns
ipconfig /all

SSH

3. Security

Shell

FOR     FOR /L %variable IN (start,step,end) DO command [command-parameters] %variable specifies a single letter replaceable parameter. The set is a sequence of numbers from start to end, by step amount. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would generate the sequence (5 4 3 2 1)

FOR /L %%A IN (1,1,3) DO ( echo %%A ) => 1      2      3

References