summaryrefslogtreecommitdiff
path: root/ult/exercises.rst
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-06-10 23:08:55 +0530
committerMadhusudan.C.S2011-06-10 23:08:55 +0530
commit8ac5a07c395f151e38ac29dfa51c14124d7ca901 (patch)
tree7eb2f6eade2c76b7bc2bcd6dc1e40f4624ff6e54 /ult/exercises.rst
parent0147108f332ac994ac06326fea0d92e96943823c (diff)
parent14c806bf85ac4cf2557fb7c850b15272fb768899 (diff)
downloadsees-8ac5a07c395f151e38ac29dfa51c14124d7ca901.tar.gz
sees-8ac5a07c395f151e38ac29dfa51c14124d7ca901.tar.bz2
sees-8ac5a07c395f151e38ac29dfa51c14124d7ca901.zip
Merge branch 'master' of https://github.com/FOSSEE/sees
Diffstat (limited to 'ult/exercises.rst')
-rw-r--r--ult/exercises.rst13
1 files changed, 9 insertions, 4 deletions
diff --git a/ult/exercises.rst b/ult/exercises.rst
index bce7d56..04df5ce 100644
--- a/ult/exercises.rst
+++ b/ult/exercises.rst
@@ -1,6 +1,9 @@
-Session-1
+Exercises
=========
+Session-1
+---------
+
1. Login to your machine from the CLI prompt, by pressing Ctrl+Alt+F1.
#. Logout and re-login.
@@ -54,7 +57,7 @@ Session-1
#. Change ownership of the file ``test`` to some other user (if exists).
-#. Count the number of files in a directory.
+#. Count the number of files (files, sub-directories, etc.) in a directory.
#. Create a new file ``alice.txt`` by concatenating the first 30 lines
and the last 40 lines of ``wonderland.txt``.
@@ -66,11 +69,13 @@ Session-1
once, at the end of the file.
Session-2
-=========
+---------
0. Read through the section ``REGULAR EXPRESSIONS`` in ``man grep``
-1. grep the marks of the students who scored above 75 in atleast one
+#. Read through in ``man expr``
+
+#. grep the marks of the students who scored above 75 in atleast one
subject.
#. grep the marks of all the students whose names begin with an 's'