Posts

Basic Commands in Linux - To display Date And Time

Date     Date is used to display the current date and time in your terminal. Date command provides lots option to display date and time. Here you can find the small range, Please comment if need to know more option. date - this will display the date and time with coordinated universal time. date date +%A - this will display current weekday full name. date +%A date +%a - this will display the current weekday short name. date +%a date +%B - this will display the current month full name. date +%B date +%b - this will display the current month short name. date +%b date +%C - this will display the current Century. date +%C  date +%c - this will display local date and time. date +%c date +%D - this will display simply date with month and year. date +%D date +%d - this will display just current date. date +%d

Basic Commands in Linux - To display calendar

Cal   Cal is used to display calendar on your terminal. cal - this will display current month. cal cal yyyy - this will display entire calendar for the year. cal 1992 cal mm yyyy - this will display particular month of that year. You can also use short form of month as feb in place of mm to display February month of your year calendar cal 12 2017 cal feb 2017 cal -w - this will display the calendar with week numbers. cal -w cal -m  this will display Monday as first day of week   cal -m    cal -s   this will display Sunday as first day of week   cal -s   

What is Linux?

Linux is the free and open-source operating system. Linux - based system is a modular UNIX like operating system, deriving much of its basic design from UNIX. Linux was primarily written in C language. Linus Torvalds released the first kernel on September 17,1991. Now, Linux is packaged and used in desktop and server as Distribution which is commonly known as ' distro '. Arch Linux, CentOs, Debian,Fedora,Linux Mint,OpenSUSE, Ubuntu .. etc are most popular Linux distribution.