ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin...
Transcript of ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin...
![Page 1: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/1.jpg)
ACM @ UCR
![Page 2: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/2.jpg)
Welcome!Welcome!WHILE YOU’RE WAITING...
DID
SO
MEO
NE
SAY
FR
EE P
IZZ
A
● tinyurl.com/acmucr
○
●
●
○ acmucr.org
![Page 3: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/3.jpg)
General Meeting 2
acmucr.org/checkin
![Page 4: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/4.jpg)
Membership
![Page 5: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/5.jpg)
Membership PMembership Perks●
●
●
●
●
● acmucr.org/interviews
●
●
![Page 6: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/6.jpg)
The ACM ClubrThe ACM Clubroom
●
●
●
●
●
●
![Page 7: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/7.jpg)
ACM BadgesACM Badges
APPLY/REQUIREMENTS:
ACMUCR.ORG/BADGES
READY TO COLLECT?
MESSAGE CAROLYN!
![Page 8: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/8.jpg)
How do I becoHow do I become a member?
01
$20
● $30
02
●03
cash.me/app/TMNLBFB
![Page 9: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/9.jpg)
Getting Involved
![Page 10: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/10.jpg)
FEB 22
![Page 11: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/11.jpg)
ucrpc.net
FEB 22
![Page 12: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/12.jpg)
ICPC/UCRPCICPC Practice EV
ENT
INFO
RM
ATI
ON
JOIN #comp-programming on CS@UCR
Slack for practice test link
PRACTICES:Saturdays, 10:30 - 2:30pm
10:30-11: pizza11-12: lecture
12-2: mock-competition2-2:30: review
QUESTIONS?
CONTACT JIHWAN KIM ON SLACK
![Page 13: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/13.jpg)
The Focus GroFocus Groups
iOS DEVELOPMENT
THURSDAYS, 2-3 PM
@ACM Room (WCH 127)
PYTHON
MONDAYS, 11-12 AM
@ACM Room (WCH 127)
WEB DEVELOPMENT
TUESDAYS, 1-2 PM
@ACM Room (WCH 127)
![Page 14: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/14.jpg)
The Focus GroFocus Groups
iOS DEVELOPMENT
THURSDAYS, 2-3 PM
@ACM Room (WCH 127)
This Week:
![Page 15: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/15.jpg)
C++ STLMember Led Workshops
SIGN UP HERE
https://acmucr.org/leadaworkshop
![Page 16: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/16.jpg)
Upcoming Events
![Page 17: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/17.jpg)
Cyber@UCRCyber@UCREV
ENT
INFO
RM
ATI
ON
GENERAL MEETING #3:
BUFFER OVERFLOW EXPLOIT
WEDNESDAY, FEB 5TH
4-5PM IN WCH 205/206
QUESTIONS/COMMENTS?
![Page 18: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/18.jpg)
ACM-WACM-WEV
ENT
INFO
RM
ATI
ON
GENERAL MEETING #2:
WOMEN IN TECH PANEL
WEDNESDAY, FEB 5TH
4-5PM IN WCH 205/206
QUESTIONS/COMMENTS?
![Page 19: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/19.jpg)
Citrus Hack in Winter Quarter
👀
General Meeting (Winter Quarter)
Wednesday, Feb 5th
2-3PM Bourns A265
![Page 20: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/20.jpg)
Thursday 12-1pm
Monday 2-3pm
Monday 2-3pm
TBA
https://tinyurl.com/CHPlanningSlack20
![Page 21: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/21.jpg)
More Announcements
![Page 22: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/22.jpg)
T-SHIRTSACM T-Shirt CompetitionA
NN
UA
L TS
HIR
T C
OM
PET
ITIO
N
http://bit.ly/acmtshirts
? ?
![Page 23: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/23.jpg)
T-SHIRTS2020-2021 ElectionsEL
ECTI
ON
SEA
SON
IS H
ERE
http://bit.ly/acmofficerapps
? ?
![Page 24: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/24.jpg)
T-SHIRTS2020-2021 Elections FAQEL
ECTI
ON
SEA
SON
IS H
ERE
How do elections work?
? ?
![Page 25: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/25.jpg)
Keep In Touch
![Page 26: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/26.jpg)
Follow Us:Follow Us:acmucr.org/slack
● @acm_ucr
● acmucr.org/fb
● acmucr.org
![Page 27: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/27.jpg)
LINUX
![Page 28: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/28.jpg)
- IDK, but I will be happy to
take credit :)
“Nothing wrong with not
knowing, there is
something wrong with
not trying.”
![Page 29: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/29.jpg)
- Me, Anthony Hallak
“You don’t need to be an
expert, you just need to
know enough to do a
good job!”
![Page 30: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/30.jpg)
#1
#3
#2
#4
Introduction
Examples
Topic
Questions
What is?
Common Misconceptions
Live Demo / Walkthrough
Basic Overview
Common Practices
Audience Participation
Q/A
![Page 31: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/31.jpg)
What’s Linux?
Linux is a kernel, but we are lazy and don’t care too much so we refer
to the whole system as a “linux” system (Should be referred to as
GNU/Linux). For this reason, when people are using “Bash” or another
shell, it is often just dubbed “Linux” but this is not 100% correct.
(MacOS has a terminal and its BSD based)
![Page 32: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/32.jpg)
Kernel? Like the popcorn? Serves as the middleman for the OS
Is one of the first things to boot up
Comes in two flavors
Monolithic kernels, like one big
stone
Micro kernels, think a bunch of
Legos combined
(There are hybrids and other types
…)
There are a lot of different versions /
types
![Page 33: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/33.jpg)
3 Main Kernels
Linux : developed by Linus Torvalds
Windows : developed by Microsoft
BSD : Berkeley-Software-Distribution
Yes, UC-Berkeley.
![Page 34: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/34.jpg)
What we will be doing then?
We will be learning how to use the Shell! Transferable knowledge that you can use on most systems with very little change.
A terminal is the window you use to interact with, the shell is the interpreter the computer uses to take in user input, interpret what you want, execute the proper commands, and give you the output. Repeat until exit is called.
What you will learn, you can use on Ubuntu, CentOS, MacOS, Fedora, Arch, Windows, … basically any system that you can put Bash on.
![Page 35: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/35.jpg)
Overview
Movement and control in the CLI
Filesystem where typical stuff goes
System monitoring (featuring logs!)
Confused? Me too, so don’t forgot to RTFM when you forget!
Also, keep track of what has been done and what has not. If you get
lost or distracted go back to the list.
![Page 36: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/36.jpg)
ls, cd, pwd, whoami, cat, echo, touch, file, grep, locate, which top, ps, lsof, netstat, ifconfig, ping, kill, w, ss, ip addr man lsattr, chattr, (Not on all systems) chmod su, sudo
Commands
![Page 37: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/37.jpg)
Great way to gather or view lots of
information in a quick manner.
Through the terminal, you have lots
of control over the machine through
commands rather than clicking
through a GUI.
Often a lot faster than going through
the GUI.
Also you look like a l33t h4ck3r
![Page 38: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/38.jpg)
File System (the ones we talk about are here)
● /
○ bin
○ boot
○ dev
○ etc
○ home
○ proc
○ usr
○ sbin
○ tmp
○ var
- bin holds binaries to use on
the system
- boot holds the files for
booting
- dev is where devices are
- etc is for configuration
- home is where users are
- proc are where currently
running things are
- usr is for read-only data
that is used globally
- sbin is like bin but the s is
for system
- tmp is for temporary things
- var is for “variable” as in
“variable in size” so mainly
log files.
Start at the root
![Page 39: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/39.jpg)
NOTES
Remember those quotes!
● You don’t have to be an expert, just know enough to do a good job● There is nothing wrong with not knowing, there is something
wrong with not trying
Also: IT IS ALWAYS OKAY TO ASK QUESTIONS!
![Page 40: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/40.jpg)
Demo Time :)
![Page 41: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/41.jpg)
Quiz Time!
● What is /proc for? /etc? /var/log? /dev? /bin? /sbin?
● How do you find what processes are running?
● What is the difference between su and sudo?
● What do you do if you get lost, don’t know, or forget?
● How do I see where what directory I am in?
![Page 42: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/42.jpg)
Thanks!● More resources
● https://ucrcyber.org
● https://ucrcyber.slack.com
● https://bash.cyberciti.biz/
● https://overthewire.org/wargames/bandit/
● Download Oracle VirtualBox + Ubuntu image
● Just play around!
![Page 43: ACM @ UCR · Also you look like a l33t h4ck3r. File System (the ones we talk about are here)- / bin boot dev etc home proc usr sbin tmp var - bin holds binaries to use on the system](https://reader036.fdocuments.us/reader036/viewer/2022071511/6130823b1ecc515869442484/html5/thumbnails/43.jpg)
Thanks for coming!