Basic Unix Commands with Examples:
Unix operating system is one of the most used and secure operating system which is using in development and deployment of lot of applications.Because of the Security of the unix operating system this is used in 90 percent of applications as a server operating system.Unix is Multiuser and Multitasking operating system which is used mainly as server in most of the applications.In this article i will give you the brief description of common unix commands which will useful to begin study of the unix.These Basic Unix Commands are most commonly used commands which are related to date ,time ,username of logged in users,how to display caledar,hostname.
“Unix is simple,stable,multiuser,multitasking operating system which is used for Servers,Desktops and laptops..”
List of Basic Unix Commands with Examples:
Logname command is used to display the login name of the user.
PWD is most commonly used command which is used to show the present working directory of the user.
Date command used to display the current date and time of the system.
Output:Wed APR 12 22:55:55 IST 2017
Clear Command clears the screen.
Cal command displays the current month calendar.
6.Cal 2000 :
Displays year 2000 calendar.
7.Cal 01 2000:
Displays the 2000 year calendar for month of January.
The Uname command displays Operating system name.Like Red-Hat,Fedora e.t.c.
9.Uname -r :
The Uname with -r is used to display the kernel version of operating system.
The hostname is used to display the host name or server name.
This command is used to show the host ip address.
This command gives the list of user connected to server.
13.Finger usename :
It displays given user information.
This command displays current user information.
Output : Amit
This displays current ternimal name.
it displays how long server is up & running, no of users connected, average load on the server.
it is used to switch from one user account to another user account.
the above command switches account named “Amit” to account named “Rohit”.
It is used to logout the current user account.
displays the Manual pages or help for given command.
Example: Man ls
The above command will show the manual pages of the command named ls.
Click on Topic You want to learn:
- History of SQL
- SQL Create Table(DDL in SQL)
- SQL DML Statements(INSERT,UPDATE,DELETE)
- SQL Select Statement Execution
- Operators in SQL
- Views in SQL
- Materialized View in SQL
- Joins in SQL
- Inner Join / Outer Join
- Full Outer Join / Cartesian Join
- Union and Union ALL
- Intersect and Minus
- Indexing in SQL
- Rank and Dense Rank
- SubQueries and Correlated Subqueries
- Parser and Optimizer
- Oracle 11 G new Features
- SQL Functions List
- Constraints in SQL
- Database Normalization
- Table Partitioning
- Pivot in SQL
- Difference Between Truncate,Delete and drop
- Oracle System Tables
Unix Tutorials :
Hope you like this article on simple commands of unix.In next articles i will give the brief information about the other commands.