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

Name: Nikita Talar Roll No.: 3547 Linux Practical Session Program 1: Useradd, Passwd, Vi/touch, Gzip Commands

This document outlines 5 Linux programs completed by Nikita Talar with roll number 3547. Program 1 covers useradd, passwd, vi/touch, and gzip commands. Program 2 covers groupadd, gpasswd, and su commands. Program 3 discusses mv, cp, mkdir, rmdir, and cat commands. Program 4 covers ps, arch, and date commands. Program 5 discusses who and whoami commands.

Uploaded by

Yash Jain Jain
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

Name: Nikita Talar Roll No.: 3547 Linux Practical Session Program 1: Useradd, Passwd, Vi/touch, Gzip Commands

This document outlines 5 Linux programs completed by Nikita Talar with roll number 3547. Program 1 covers useradd, passwd, vi/touch, and gzip commands. Program 2 covers groupadd, gpasswd, and su commands. Program 3 discusses mv, cp, mkdir, rmdir, and cat commands. Program 4 covers ps, arch, and date commands. Program 5 discusses who and whoami commands.

Uploaded by

Yash Jain Jain
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Name: Nikita Talar

Roll no.: 3547


LINUX PRACTICAL SESSION
Program 1: useradd, passwd, vi/touch, gzip commands

useradd command -New user is added.


passwd command-Password have been set.

vi/touch command- To create a new file.


gzip (gunzip) command- To compress or expand files.

Linux

Name: Nikita Talar


Roll no.: 3547
Program 2: groupadd, gpasswd, su, commands
[root@pc1 Desktop]# groupadd tycs

#New group is added

[root@pc1 Desktop]# gpasswd tycs

# Password have been set

Linux

Name: Nikita Talar


Roll no.: 3547

Su- To change a login sessions owner.

Linux

Name: Nikita Talar


Roll no.: 3547
Program 3: Copy and Move Files

mv- To move files and directories.


cp- To copy files and directories.
mkdir- To create directory.
rmdir- To delete/remove directory.
cat- To display contents.

Linux

Name: Nikita Talar


Roll no.: 3547
Program 4: ps, arch, date commands

ps- It displays information about a selection of the active processes.


arch- File architecture.
date- Date, time of current day is displayed.

Program 5: who, whoami commands

who- Shows who is logged on.


whoami- Display user name of the owner of the current login session.

Linux

You might also like