Unix shell

1.

TITLE hello world

Time
ver
exit
cls
FC /N C:\Test\a.txt C:\Test\b.txt
comp /A /D C:\Test\a.txt C:\Test\b.txt
tree C:\Test

attrib +R +H +S C:\Test\a.txt /S /D

Find "aaacd" C:\Test\a.txt


spac: software installation management

conf :net meeting


ls -tl|head by default, displays the first 10 line of text.


ls -tl|100 display the fist 100 lines



2.

problem of "find" in cygwin
FIND: Parameter format not correct

There is confusion between System32 "find" and cygwin's /usr/bin/find. The desired find is cygwin's. This is caused by Path ordering. A few possible solutions are possible:

temporarily rename system32/find.exe
make sure cygwin path entry comes before system32 path entry


3. less * | grep teststring


4.

net use t: \\apaccmhkap019\eqtg


5.

set the display width of SSH-client:
---------------------------------
setenv DISPLAY ipaddress:0.0
---------------------------------
net view \\apaccmhkap019

nbtstat -n/-a

route print

tracert apaccmhkap019

arp -a



ipconfig /all
ipconfig /release
ipconfig /renew

netstat -n
netstat -r
netstat -e
netstat -s
netstat -ano

ping apac.nsroot.net [domain]
ping 127.0.0.1 -n 6

ping 127.0.0.1 -t

ping -a 10.107.19.70


nslookup -qt=ISDN apac.nsroot.net
nslookup -qt=MB apac.nsroot.net
nslookup -qt=CNAME apac.nsroot.net
nslookup -qt=ns apac.nsroot.net
nslookup -qt=mx apac.nsroot.net
nslookup apac.nsroot.net
nslookup



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值