Skip to content
Snippets Groups Projects
Commit 5c33aad5 authored by 한소진's avatar 한소진
Browse files

All Lab

parent e6478b67
Branches
No related tags found
No related merge requests found
File added
lab0315/h 0 → 100644
1 ls
2 who
3 passwd
4 ls
5 ls -l
6 ls -al
7 cp ~oss000/.bas* ~oss000/.profile .
8 ls -al
9 exit
10 ls
11 touch file
12 ls
13 ls -l
14 touch file
15 ls -l
16 mkdir dirl
17 ls
18 ls -l
19 cd dirl
20 ls -al
21 ls -l
22 touch .file_hidden
23 ls -l
24 ls -al
25 cd ..
26 ls -al
27 pwd
28 cd
29 cd ..
30 ls
31 pwd
32 logout
33 pwd
34 ls
35 rm dirl
36 rm -r dirl
37 ls
38 mkdir dir1
39 ls
40 rmdir dir1
41 ls
42 cd ~
43 pwd
44 mkdir test
45 cd test
46 pwd
47 cd ~
48 rmdir test
49 ls
50 mkdir test
51 ls
52 cd test
53 touch .hidden_file
54 ls
55 ls -al
56 rm .hidden_file
57 ls -al
58 rmdir test
59 cd ~
60 rmdir test
61 ls
62 rm file
63 ls
64 touch file
65 ls
66 ls -al
67 vi file
68 ls -al
69 ls
70 vi file
71 rm file
72 ls
73 ls -al
74 touch file
75 ls
76 vi file
77 sudo swapoff - v /file
78 ls -al
79 rm .file.swp
80 ls -al
81 rm .file.swo
82 ls -al
83 vi file
84 ls -al
85 cat file
86 ls l
87 ls
88 cat .bashrc
89 ls -al
90 rm .file.swp
91 ls -al
92 vi file
93 mkdir dir
94 ch dir
95 cd dir
96 touch file 1 file 2 file3
97 ls -al
98 cd ~
99 ls
100 rmdir dir
101 rm -r dir
102 ls
103 mkdir dir
104 ls
105 cd dir
106 touch f1 f2 f3
107 ls
108 rm -i *
109 ls
110 rm f3
111 ls
112 cd ~
113 ls
114 man cd
115 man rm
116 rm --help
117 ls
118 rmdir dir
119 ls
120 ls -al
121 cat .bash_history
122 ls
123 ls -al
124 ls -al .ba*
125 ls
126 rm file
127 ls
128 exit
129 logout
130 who
131 tty
132 who | wc
133 who | tail
134 who | sort
135 clear
136 cd
137 pwd
138 ls
139 mkdir foss
140 ls
141 cd foss
142 pwd
143 cd
144 pwd
145 cd ..
146 ls
147 cd oss000
148 cd
149 cd oss134
150 cd foss
151 cd
152 pwd
153 cd foss
154 echo "Sojin Han - 201920753" > studentid
155 ls -al
156 pwd
157 cd
158 pwd
159 exit
160 ls
161 touch text
162 ls
163 vi text
164 cat text
165 vi text
166 cattext
167 cat text
168 vi text
169 cat text
170 ls
171 rm text
172 ls
173 touch text
174 vi text
175 ls -al
176 rm text
177 ls -al
178 rm .text.swp
179 rm .text.swo
180 ls -al
181 touch text
182 ls
183 vi text
184 cat text
185 vi text
186 ls 0al
187 ls -al
188 rm text
189 ls
190 exit
191 cd foss
192 pwd
193 ls
194 cat studentid
195 cd /
196 ls
197 ls -al
198 cd /dev
199 ls -al
200 ls
201 ls -l
202 tty
203 cd /dev/pts
204 ls -l
205 tty
206 echo "Hi I am sojin" > /dev/pts/52
207 echo "Hi i am sojin" > /dev/pts/133
208 tty
209 chmod 777 /dev/pts/52
210 df
211 cd
212 pwd
213 cd foss
214 ls -al
215 mkdir lab0315
216 ls
217 cd lab0315
218 ls -al
219 cd ..
220 cd lab0315/
221 history
222 history > h
#include <stdio.h>
int main(){
int a;
fscanf(stdin,"%d",&a);
fprintf(stdout,"hello stdout %d\n",a);
fprintf(stdout,"hello stderr %d\n",a+100);
return 0;
}
i am groot
OIC
hey
11111111111
222
hey
11111111111
222
hey
11111111111
222
file2
\ No newline at end of file
hfile1
\ No newline at end of file
hey
hey
i am groot
OIC
hey
11111111111
222
hey
11111111111
222
hey
11111111111
222
file2
\ No newline at end of file
hfile1
\ No newline at end of file
hey
hey
hello stderr 1100
File added
hello stdout 2008
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment