查询自己的公网ip:curl ifconfig.me 查看命令所在路径(查看ls):which ls 使用cat编写代码 cat << EOF > hw.c#include<stdio.h>int main(){ printf("hello");return 0;}EOF