blob: b2fdbe7a27a12c708f7ea7f92b6809960eeed7cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
ans =
1.
-->exec('Example1.sci',-1)
Current date is 02-Jun-2013
Welcome to the Textbook Companionship Project 2013
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Book Title : UNIX CONCEPTS AND APPLICATIONS
Book Edition : 4
Book Author : Sumitabha Das
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Code Author : Pranav Bhat T
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Chapter Number : 4
Chapter Title : THE FILE SYSTEM
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Example 1 : Show the path of the home directory of the file system
****************************************************************
Answer :
INSTRUCTIONS :
Here all instructions are preloaded in the form of a demo
PRESS ENTER AFTER EACH COMMAND to see its RESULT
PRESS ENTER AFTER EACH RESULT TO GO TO THE NEXT COMMAND
.............Press [ENTER] to continue..... UNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)
$ echo $HOME #To get the value of the home directory
........# (hit [ENTER] for result) C:\Users\Pranav Bhat
........# (hit [ENTER] for next instruction)
$ exit #To exit the current simulation terminal and return to Scilab console
........# (hit [ENTER] for result)
BACK TO SCILAB CONSOLE...
Loading initial environment
-->diary(0)
|