Linux Commands: Er. Lalit Matoliya Team Co-Ordinator, CDAC-ACTS
Linux Commands: Er. Lalit Matoliya Team Co-Ordinator, CDAC-ACTS
$ cal
cal can be used without arguments, in which case it displays the
calendar of the current month.
To see calendar for month of march 2006, you need two
arguments
$ cal 03 2006
bc : The calculator
bc is used for arithmetic operation. It is applicable for integer and also for
floating point.
$ bc
12 + 5
17
[ctrl + d]- To quit bc.
To enable floating point computation, you have to set scale to the number of
digits of precision before you key in the expression:
scale=2
17/7
2.42
bc is quite useful in converting numbers from one base to another.
ibase=2
11001010
202
The reverse is also possible
obase=2
14
1110
Aug
07:51 (:0)
kumar
pts/10 Aug
07:56 (mercury.heavens.com)
sharma
pts/6
02:10 (pc125.heavens.com)
Aug
The permissions set for the current directory dont permit the
creation of files and directories by the user.
kapil
kanchan
khushi kamal
ls options:
Output in Multiple Columns (-x)
$ ls -x
Identifying Directories and Executables (-F)
$ ls -Fx
Showing Hidden Files Also (-a)
$ ls -axF
Listing Directory Contents
$ ls x helpdir progs
Recursive Listing $ ls -xR
cat, like several other UNIX commands, also accepts more than
one filename as arguments:
$ cat chap01 chap02
[Prompts Returns]
THANK
S