📄 testit.sh
字号:
#!/bin/bash -norcset -xstrace -v ./mapper1 /mnt/wrapfs/BAR.TXT 0 20exit 0# attach a node so /mnt/wrapfs/abc -> /n/fist/zadok./fist_ioctl +a /mnt/wrapfs abc /n/fist/zadok#read n#./fist_ioctl +a /mnt/wrapfs XyZ23q /some/placeexit 1#ls -l /mnt/wrapfs/uname#read nfile=foo-$RANDOM## shift inward test#echo 'abcdefghijklmnopqrstuvwxyz0123456789' > /mnt/wrapfs/$file#read n#echo 'XXXXXXXXXX' | ~ib42/c/test/write /mnt/wrapfs/$file 10## shift outward test#echo 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > /mnt/wrapfs/$filecp /bin/ls /mnt/wrapfs/$fileread necho '1234567890' | ~ib42/c/test/write /mnt/wrapfs/$file 4110read ncat <<EOFaaaaaaaaaa1234567890aaaaaaaaaaaaaaaEO>> /mnt/wrapfs/G# touch /mnt/wrapfs/$file# ls -l /mnt/wrapfs/$file# read n# #perl -e "print 'a' x 80" >> /mnt/wrapfs/$file# ~ib42/c/test/truncate /mnt/wrapfs/$file 100# read n# #perl -e "print 'b' x 4900" >> /mnt/wrapfs/$file# ~ib42/c/test/truncate /mnt/wrapfs/$file 5000# read n# date >> /mnt/wrapfs/$file# read n# hexdump /mnt/wrapfs/$file#echo#cp /etc/termcap /mnt/wrapfs/$file#read n#od -Ax -h /n/fist/wrapfs/$file#ls -l /mnt/wrapfs/$file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -