0% found this document useful (0 votes)
21 views

Linux User Guide

The document provides instructions for enabling or disabling the root account in Ubuntu, working as the root user through sudo, and commands for uncompressing files with .zip, .tar, and .gz extensions. It explains that the "sudo passwd root" command enables the root account, "sudo passwd -l root" disables it, and "sudo -i" allows working as root through the sudo command. For unzipping files, it recommends using "unzip zipfile.zip", "tar xvf tarfile.tar", and "gunzip zipfile.gz" followed by "tar xvf zipfile" to uncompress .gz files.

Uploaded by

Arun Dayalan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Linux User Guide

The document provides instructions for enabling or disabling the root account in Ubuntu, working as the root user through sudo, and commands for uncompressing files with .zip, .tar, and .gz extensions. It explains that the "sudo passwd root" command enables the root account, "sudo passwd -l root" disables it, and "sudo -i" allows working as root through the sudo command. For unzipping files, it recommends using "unzip zipfile.zip", "tar xvf tarfile.tar", and "gunzip zipfile.gz" followed by "tar xvf zipfile" to uncompress .gz files.

Uploaded by

Arun Dayalan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 1

If you want to enable root account (which is not recommended) enter the following command.

$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to
login.

If you want to disable root account in ubuntu you need to lock the root account by using the following
command

$sudo passwd -l root

If you want to work on a root console you’d better use the following command

$sudo -i
----type 'exit' to get out of root user--------

Type "unzip zipfile.zip" where zipfile is the name of the file that you are uncompressing. The "unzip"
command allows the user to unzip compressed files with the .zip extension.

Type "tar xvf tarfile.tar" where tarfile is the name of the file that you are uncompressing. The "tar
xvf" command allows the user to uncompress compressed files with the .tar extension.

Type "gunzip zipfile.gz" where zipfile is the name of the file that you are uncompressing. The "gunzip"
command allows the user to unzip compressed files with the .gz extension. Gunzip converts the file
into a tar file without the .tar extension. So, now you must follow Step 2 and type "tar xvf zipfile."
Zipfile in this case has no extension

You might also like