📄 nsopen
字号:
#!/bin/shif [ $# != 1 ];then echo "Usage: $0 file" exit 1fifile=$1if [ ! -f $file ]then echo "$0: $file is not a file!" exit 2fiif [ ! -r $file ]then echo "$0: File $file cannot be read" exit 4fi#Try to open file in an existing netscape window(netscape -no-about-splash -remote "openFile(${file})") >& /dev/null#if this fails, it means that netscape is not running, so start itif [ $status ]then netscape -no-about-splash -no-install file:${file}fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -