Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete script #6

Open
loknjinu13 opened this issue Mar 13, 2018 · 0 comments
Open

Complete script #6

loknjinu13 opened this issue Mar 13, 2018 · 0 comments

Comments

@loknjinu13
Copy link

#!/bin/sh
#Glanel Houenouvi
#Week2 Command
echo "print the sentence "Hello Amigo How are You""
echo "Hello Amigo How are you"
sleep 1
echo "create a file FA"
touch FA
sleep 1
echo "put word Papy in file FA"
echo "Papy" > FA
sleep 1
echo "Globbing everything within directory"
echo *
echo "print the actual directory"
pwd
sleep 1
echo "run the output of file FA"
ls -l FA
#Week 3 Command
echo "send this sentence to Trash (dev/null)"
echo "Chers amis au revoir" > /dev/null
echo "show all the device in the system"
blkid
sleep 1
echo "find the system file"
find /sys | grep sd | less
echo "Show the process partition"
ls /proc/partitions
sleep 1
#Week 4 Assignment
echo "make Bobo a direectory"
mkdir /bobo
echo "make bobo a partition"
dd if=
/bobo of=swap_file bs=1024k count=1
#Week 5-6
echo "Download Image from a source"
AmbazoniaFlag='https://en.wikipedia.org/wiki/Ambazonia#/media/File:Flag_of_The_Federal_Republic_of_Southern_Cameroons.svg'
sleep 2
echo "open The flag"
firefox ${AmbazoniaFlag}
sleep 5
echo "end of script"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant