This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
operating-systems-course
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
first week version 1
master
RinRi
1 year ago
commit
73965f8c9f
9 changed files
with
114 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
week01/ex1.sh
+5
-0
week01/ex1.txt
+7
-0
week01/ex2.sh
+5
-0
week01/ex2.txt
+17
-0
week01/ex3.sh
BIN
week01/ex4
+5
-0
week01/ex4.c
+53
-0
week01/home/home.txt
+19
-0
week01/root/root.txt
+ 3
- 0
week01/ex1.sh
View File
@@ -0,0 +1,3 @@
#!/bin/sh
find /usr/bin -name "*gcc*" | sort -r | head -n5 > ex1.txt
+ 5
- 0
week01/ex1.txt
View File
@@ -0,0 +1,5 @@
/usr/bin/x86_64-pc-linux-gnu-gcc-ranlib
/usr/bin/x86_64-pc-linux-gnu-gcc-nm
/usr/bin/x86_64-pc-linux-gnu-gcc-ar
/usr/bin/x86_64-pc-linux-gnu-gcc-12.2.0
/usr/bin/x86_64-pc-linux-gnu-gcc
+ 7
- 0
week01/ex2.sh
View File
@@ -0,0 +1,7 @@
#!/bin/sh
vim ex1.sh
ls
git status
history
history | tail -n5 > ex2.txt
+ 5
- 0
week01/ex2.txt
View File
@@ -0,0 +1,5 @@
54476 vim ex1.sh
54477 ls
54478 git status
54479 history
54480 history | tail -n5
+ 17
- 0
week01/ex3.sh
View File
@@ -0,0 +1,17 @@
#!/bin/sh
date
sleep 3
mkdir root
date
sleep 3
mkdir home
date
sleep 3
ls -tr / > ./root/root.txt
date
sleep 3
ls -tr ~ > ./home/home.txt
ls
ls ./root
ls ./home
BIN
week01/ex4
View File
+ 5
- 0
week01/ex4.c
View File
@@ -0,0 +1,5 @@
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
+ 53
- 0
week01/home/home.txt
View File
@@ -0,0 +1,53 @@
Media
data
Music
nextcloud
Games
vpnconf
Zotero
org
work
polygon
hacking
disks
cpsrc-archive
eap
interview
dwhelper
useful
hobby
tech
fun
out.pdf
bindings
lol.cpp
notes
todo
Makefile
coverletter.md
coverletter.pdf
assignment
Screenshots
sd
wifiesp
RFID authentication.pdf
letter
docs
library
smartcontract
walls
Desktop
android
src
network
cpsrc
Documents
scripts
machines
class
namelist
namelist.sorted
main.cpp
a.out
edu
Downloads
+ 19
- 0
week01/root/root.txt
View File
@@ -0,0 +1,19 @@
boot
lost+found
srv
home
mnt
sbin
lib64
lib
bin
opt
root
usr
var
sys
proc
dev
run
etc
tmp
Write
Preview
Loading…
Cancel
Save