You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week2/MAKEME.md
+31-5Lines changed: 31 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,37 @@ _Deadline Monday_
31
31
32
32
_Deadline Tuesday_
33
33
34
-
>We covered a bit of command line usage in the first class and got a program running which is great. If you need a refresher for the command line please have a look here: https://github.com/HackYourFuture/CommandLine
34
+
>We covered a bit of command line usage in the first class and got a program running which is great. If you need a refresher for the command line please have a look here: https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-1.md
35
35
36
-
Make the command line homework that is listed here: https://github.com/HackYourFuture/CommandLine/blob/master/HomeWork1.md
36
+
```
37
+
1. Research how to create a hidden file and how to display it using ls command.
38
+
39
+
2. Research how to create multiple nested directories with one mkdir command.
40
+
E.g. How would you create 'fun' directory along with all directories in the path below:
41
+
/c/Users/unmesh/these/folders/are/just/for/fun
42
+
43
+
3. Execute following commands terminal:
44
+
echo "test" > fun
45
+
echo "another test" >> fun
46
+
wc -c fun
47
+
48
+
Verify number of characters in the file.
49
+
50
+
4. Research how to append something in the file *WITHOUT* a newline character.
51
+
E.g.
52
+
echo "test" > fun
53
+
echo "another test" >> fun
54
+
cat fun
55
+
Output of "cat fun" is
56
+
test
57
+
another test
58
+
59
+
How would you use echo command, so that output would be:
60
+
testanother test
61
+
62
+
```
37
63
38
-
## Step 2: Read/do/watch
64
+
## Step 3: Read/do/watch
39
65
-[Introduction to media queries](https://teamtreehouse.com/library/css3/media-queries/introduction)
40
66
-[More about media queries](https://css-tricks.com/css-media-queries/)
Copy file name to clipboardExpand all lines: Week3/MAKEME.md
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,29 @@ _Deadline Monday_
31
31
- Revisit you own drone assignment and command line homework and improve it with the feedback and suggestions given by one of your classmates.
32
32
33
33
34
-
## Step 2: Assignment
34
+
## Step 2: Command Line
35
+
36
+
_Deadline Wednesday_
37
+
38
+
```
39
+
Write ONE shell script to do following:
40
+
1. create a directory. Enter a directory. Create an empty file named blank.
41
+
2. Then write the content "Hello" five times to the file greetings.txt.
42
+
Then copy the file greetings.txt and paste its contents into 1.txt, 2.txt, 3.txt, 4.txt and 5.txt.
43
+
3. Then write the text "cat" to pets.txt
44
+
Then append the text "dog" to pets.txt
45
+
Then append the text "hamster" to pets.txt
46
+
4. Then write the text "cat" to commands.txt
47
+
Then append the text "ls" to commands.txt
48
+
Then append the text "pwd" to commands.txt
49
+
5. Then find unique strings from these two files pets.txt and commands.txt
50
+
and store the unique strings in lovelyCommands.txt
51
+
```
52
+
53
+
For and overview of the commands we learned in class please take a look at the overview of the [second lecture](https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-2.md). If you need a refresher you can of course also go over the commands of the [first lecture](https://github.com/HackYourFuture/CommandLine/blob/master/Lecture-1.md)
0 commit comments