学习日记10--linux命令4

18:00 开始学习

Linux命令学习

  • apt -get install,upgrade  软件名
  • vi /etc /apt/sources.list 调出内容,可以修改镜像源   apt -get update 使更改后配置生效点击打开链接
  • Ubuntu搭建服务器 ftp,samba 点击打开链接  ,ssh, scp  
  • shell脚本举例: vi test.sh --> 输入ls回车pwd回车ls / --> chmod u+x test.sh 加权限 --> ./test.sh 即可执行之前输入的三行命令
  • 编译c语言文件   gcc xxx.c  然后ls出现 .out文件即运行结果
  • 编译python语言文件  python xxx.py 即可
  • python的主战场:web服务器, 人工智能, 网络爬虫

猜你喜欢

转载自blog.csdn.net/dershine/article/details/80627678