[go: up one dir, main page]

0% found this document useful (0 votes)
39 views3 pages

Linux Basics for Beginners

The document discusses different Linux commands and concepts like creating files and directories, different types of users and login styles, the Linux file system structure with the root directory and home directories, and basic commands like touch, mkdir, ls, cd and pwd.

Uploaded by

apa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Linux Basics for Beginners

The document discusses different Linux commands and concepts like creating files and directories, different types of users and login styles, the Linux file system structure with the root directory and home directories, and basic commands like touch, mkdir, ls, cd and pwd.

Uploaded by

apa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

=================================================

Day-3 Session - Part - 2

=================================================
How we can create file and directory in linux ?
=================================================
Linux Installation ==> DONE
basic windows OS concept ===> DONE
=================================================
Types of Users ?

1- Super user ==> root ==> 100% ==> #


2- Normal user ==> deepak sumit alok ==> limited rights ==> $

=================================================

Types of Login Style in linux ?

1- Local to local

2- Remote login concept

=================================================

Types of login mode ?

1- GUI Mode

2- CLI Mode

=================================================
File <===> File
Folder <===> Directory

Double Click ==>


cd ==> change directory
ls ==> to check the data listing of any directory
=================================================
In Windows ==> My computer ==> C:\ D:\ E:\
In Linux

1 ==> There is no concept of C D E F Drive


2 ==> In Linux we have only single parent folder or directory [ / ] which is called
forward slash or parent directory or root partition.
3 ==> Under the forward slash directory we have n number of sub directory to manage
the
Linux Operating system.
=================================================
machine <=== Disk <== Install <== Operating system
=================================================
Types of Data ?

1- default data or OS defined data or services defined data or application

A- During the OS installation time


B- After the OS installation if we are going to install any extra application

2- Custom data or user defined data ==> created by any super user or normal user
Note: always after the OS installation time

=================================================

My computer <===> /

=================================================

1- / ==> It's a main directory of linux OS which contains n number of sub


directory
to manage the OS.

2- /root ==> root's home directory or home directory of super user

3- /home ==> home directory for all normal user

4- /home/deepak ==> home directory of deepak user


/home/rahul

4- root ==> super user name

===========================================

[ root @ localhost ~ ] # pwd [ to check present working directory ]

/root

current working directory


present working directory

[ deepak @ localhost ~ ]$ pwd

/home/deepak

=============================================
touch ==> to create the new blank file
mkdir ==> to create any directory
ls ==> listing
cd ==> change directory
pwd ==> present directory
=============================================
root ==> private home directory [ /root ] r w x + public place
[full rights]
deepak ==> private home directory [ /home/deepak ] r w x + public place
[ read only ]
[ as per rights ]

$ ls /
$ ls /root
$ ls /home/krishna

============================================
touch
mkdir
mkdir -p
ls
ls -R
tree
pwd

cd ..
cd ../..
cd ../../..
cd -
cd .
cd directoryname
cd
cd ~

============================================

=================================================

You might also like