For any reason, if you need to rename Windows computer name from the command line, here's the command:
WMIC computersystem where name="%computername%" call rename name="NewComputerName"
Example output:C:\WINDOWS\system32>WMIC computersystem where name="OldComputerName" call rename...
To create a tar.gz archive from a given folder you can use the following command
tar -zcvf tar-archive-name.tar.gz source-folder-name
This will compress the contents of source-folder-name to a tar.gz archive named tar-archive-name.tar.gz
To extract a tar.gz compressed archive you can use the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.