give permissions to a file

the command is The first digit (7) refers to the permissions of the file owner.The second digit (7) refers to the permissions of the group […]

create a file and rename it

This works for unix-like systems. create a file You will probably be asked for the password. rename a file obviously you must have superuser permissions, […]