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

LINUX Notes

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)
19 views

LINUX Notes

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/ 2

LINUX

SSH (Secure Shell)


SSH Tools
putty

Folders -> Windows


Directories -> Linux

FTP Tools
WinSCP (Windows Secure Copy) --> windows
FileZilla --> Windows/Mac/Linux

Introduction
Linux started arround 1991 by Linux Torvalds
Linux is an multi-user , multi-tasking Operating System (multi user can perform
tasks simultaneously)
Linux is an Open Source (source code also free) not like AIX (IBM), Sun Solaris ,
Windows(MicroSoft), HP-UX
Linux is 'case sensitive' ls is different of Ls
Linux distributions:
1. Redhat
2. CentOS
3. Ubuntu

4. SuSe Linux
5. Fedora
6. Gentoo
7. Mandriva
8. Debian
9. Slackware

Linux Directory/File Structure

C:// --> windows


/ --> root directory or parent directory --> linux

1. /home --> Users directory in windows --> contains home directories for all users
to store their personal files
ex. /home/mine or /home/gayathri
how to know how many users are there then see
how many directories in the Home directory

2. /bin --> Contains binary files for your commands. user can access the commands
ex. mkdir, ls, date , cd , ps...
3. /sbin --> s means System bin --> just like bin it contains the commands and
files, but only root user can access.
ex. ifconfig , reboot, shutdown , swapon..
Types of users
Super user/root user(only one)/admin user
root(who create the normal users) --> who have all the access
Normal users(like us)
System users(created by software)
--> normal users can access binaries only in bin directory
--> root users can access both bin and sbin directories

4. /etc --> it contains configuration files

sudoers
passwd
shadow
group
motd -->message of the day

5. /opt -->

6. /lib --> it contains the system libraries

7. /dev --> contains all the device files


ex. USB or any other attached to the server.

8. /proc --> contains all the process information

PIds
cpuinfo
9. /var --> it contains variable files.this includes system log
files(/var/log),emails(/var/mail) and temp files needed across reboots(/var/tmp

10. /tmp --> used for temporary purpose --> contains temporary files
devops.txt in 1 to temp
temp to devops.txt in 2
any body can have the access for temp dir

11. /usr --> it contains the binary and libraries. WAS , IHS or DB2 etc related
softwares will install in this directory

Navigation and Directory Control Commands

1. mkdir --> make or create a directory


2. ls --> list the directory contents
3. tree --> it will list contents of directories in a tree like format
4. cd --> change directory
5. pwd --> print working directory
6. rmdir --> remove or delete directory
7. rm --> it will remove a file or directory

command in linux | command in DOS


---------------------------------------------------
mkdir | md & mkdir
ls | dir
cd | cd or chdir
pwd | cd
rmdir | rd & rmdir
cd | cd/

You might also like