Download presentation
Presentation is loading. Please wait.
1
CS 60 Discussion Review
2
Important Unix Commands
ls Options: -ltra pwd mkdir rmdir cd
3
Important Unix commands
cp Options: -r mv rm more/less cat echo
4
File Permissions rwx: Read, Write, eXecute Owner, Group, Others
What do these mean for files/dirs Owner, Group, Others Example: chmod 754 file.txt
5
Redirection, Pipes >, >> < |
6
Backquotes cat `ls abc* |grep 123`
7
Processes ps pidof kill -9
8
Background jobs ^Z bg fg &
9
Debugging gcc -g gdb <program> [core] GDB commands run list
print break continue step next
10
Compiling Compiling Gcc Pre-Processing Compiling/Assembly Linking
Options: -o, -c, -l, -L -W, -Wall, -g
11
More commands find grep Options: -name, -type, -maxdepth, -user, -exec
Options: -r, -l, -n, -v, -I
12
Tars tar -tvzf tarfile.tar.gz tar -czf tarfile.tar.gz dir/
tar -xvzf tarfile.tar.gz
13
Shells What is a shell ? Setenv PATH ? .cshrc, .login, .logout
csh, bash, etc Setenv PATH ? .cshrc, .login, .logout
14
More commands head tail cut cut -f2 -d’ ‘ |head -10|tail -2
15
Shell Scripts Examples
16
all the best for finals !!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.