linux操作(持续更新)

chown 将指定文件的拥有者改为指定的用户或组。

例子

  //将test.txt的拥有者改为fxw,组为fxwgroup

  eg. chown fxw:fxwgroup test.txt

shell脚本开头:#!/bin/bash

猜你喜欢

转载自www.cnblogs.com/fxw-learning/p/12341326.html