You need to use the standard date command to format date or time. You can use
the same command with the shell script.
Syntax
The syntax is
date +FORMAT
OR
date +"%FORMAT"
OR
date +"%FORMAT%FORMAT"
OR
date +"%FORMAT-%FORMAT"
Task: Display date in
mm-dd-yy format
Open a terminal and
type the following date command:
$ date +"%m-%d-%y"
Sample output:
02-27-07
To turn on 4 digit
year...
UNIX
Unix (all-caps UNIX for the trademark) is a multitasking, multiuser computer operating system that exists in many variants. The original Unix was developed at AT&T's Bell Labs research center by Ken Thompson, Dennis Ritchie, and others.MAC OSX is UNIX
Even Mac OSX is developed is a series of Unix-based graphical interface operating systems developed and marketed by Apple Inc.LINUX / UNIX
Linux invented by Linus Torwalds , a finnish student as a project, which has grown to vast area of development where thousands of developers are been working upgrading the LINUX
10.10.2014
What is a Unix Shell?
10:02 AM
0
The shell provides you with an interface to the UNIX system. It gathers input from you and executes programs based on that input. When a program finishes executing, it displays that program's output.
A shell is an environment in which we can run our commands, programs, and shell scripts. There are different flavors of shells, just as there are different flavors of operating systems. Each flavor...
10.09.2014
Bash (Unix shell)
12:43 AM
0
Bash is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell (sh).Released in 1989, it has been distributed widely as the shell for the GNU operating system and as a default shell on Linux and Mac OS X. It has been ported to Microsoft Windows and distributed with Cygwin and MinGW, to DOS by the DJGPP project, to Novell NetWare and to Android...
240 LINUX U HAVE TO TRY
12:34 AM
0
How many have you tried? Have a look
Linux is all about freedom, experiments and versatility! We all know about popular Linux distros like Linux Mint, Ubuntu, Fedora, Redhat etc., but do you know that there are over 400 Linux distros! So if the adventurous geek inside you is still alive.
Absolute LinuxOfficial website
AbulEduOfficial website
AgiliaLinuxOfficial website
aLinuxOfficial...
Subscribe to:
Posts (Atom)
Translate
Popular Posts
-
Artificial intelligence is a field of study in which we can program computers to make decisions for the work and attain a specific output....
-
Boot loader phase The boot loader phase varies by computer architecture. Since the earlier phases are not specific to the operating sys...
-
RAW RAW TCP are network protocols that allows data to be exchanged using a secure channel between two networked devices. Used primarily ...
-
You may think where are people using 16 bit architecture hardware for building devices. And yes they required in embedded systems, if you ...
-
Linux plays a major role in the world security and hacking. People feel more free and best working without any obstructs when compare...
-
Features of network monitoring tools A network monitoring tool is usually hosted on a standalone server and runs its client software on e...
-
List running services: # service --status-all # chkconfig --list | grep '3:on' Recommend Actions on Default Services Servi...
-
The Linux operating system (and likewise, Linux) differs from other computing environments in that it is not only a multitasking syste...
-
Linus Torvalds Linus Benedict Torvalds born December 28, 1969) is a Finnish American software engineer, who was the principal force...
-
Web UIs for the Common User The default Hadoop ports are as follows: Daemon Default Port Configuration Parameter HDFS Namenode ...
Recent Posts
Categories
- Artificial intelligence in Nutshell (1)
- bashrc (1)
- computer file systems (1)
- creating users (1)
- ext (1)
- FAT (1)
- file systems (1)
- linux (1)
- services (1)
- Shell scripting (1)
- System Calls (1)
- veritas (1)
- vfs (1)
- xfs (1)
- zfs (1)