Skip to main content

Posts

Showing posts from December, 2015

Some basic Linux commands

Command Description date Show the current date and time cal Show the month calendar # cal à Shows current month of the calendar # cal nav 1979 à Shows particular month & year of the calendar uptime Show current uptime (System up and running) whoami Who you are logged in as finger Display information about the user users/id Shows user information man Shows manual of a command Ex: man cat username Shows your username who/w Display who is online in a server

Linux File System Hierarchy

In Linux, the top level directory represented by “ / ”. It is also known as ROOT directory or Parent directory. ( The root account is like a system administrator account. It provides you full control of the system. You can create and maintain user accounts, assign different permission for each account, etc. )  The home directory for root user is “ /root ”. It is also known as Super user. It provides working environment for root user.  The home directory for all other users is “ /home ”. It provides working environment for all other users.  The default software’s are installed in “ /usr ” ( Unix Sharable Resources directory )  The commands used by all users are stored in “ /bin ” whereas the commands used by Super user stored in “ /sbin ” directory.  The variables data like mails, log files stored in “ /var ” directory The /tmp directory is a temporary landing place for files. All users can access this directory.

What is Linux?

Linux is an Open-Source Operating System based on Unix.  Linux was first introduced by Linus Torvalds.  The main purpose of Linux was to provide free and low-cost Operating System for users. Since Linux is cost-free, so it is conveniently downloadable and used by people.  Linux is open-source, so it is open to use, and developers may also try to improve the Linux operating system’s features.  It’s a multi-use operating system so multiple people may use the model.  Linux can operate on various types of hardware, so Linux is transportable.  Linux is secure, as it offers secure passwords and data encryption.