Script started on Wed Sep 4 12:35:47 2024 mweeks@air:Desktop$ echo The wifi is not working The wifi is not working mweeks@air:Desktop$ ssh mweeks@snowball.cs.gsu.edu ssh: connect to host snowball.cs.gsu.edu port 22: Network is down mweeks@air:Desktop$ ls per ls: per: No such file or directory mweeks@air:Desktop$ ls per* perPETuity.mp4 perchance_org.png mweeks@air:Desktop$ dir per* bash: dir: command not found mweeks@air:Desktop$ ls -l per* -rw-r--r--@ 1 mweeks staff 6374431 Jan 28 2021 perPETuity.mp4 -rw-r--r--@ 1 mweeks staff 335143 Jul 18 18:09 perchance_org.png mweeks@air:Desktop$ mkdir public_html mweeks@air:Desktop$ ls -l public_html mweeks@air:Desktop$ ls -l | grep pub drwxr-xr-x 2 mweeks staff 64 Sep 4 12:50 public_html mweeks@air:Desktop$ ls -l | grep per drwxr-xr-x 64 mweeks staff 2048 May 7 11:22 DWT_undo_paper -rw-r--r-- 1 mweeks staff 5334 Aug 20 15:57 char_count_per_line.c -rw-r--r--@ 1 mweeks staff 6374431 Jan 28 2021 perPETuity.mp4 -rw-r--r--@ 1 mweeks staff 335143 Jul 18 18:09 perchance_org.png mweeks@air:Desktop$ ls -l | grep per | sort -rw-r--r-- 1 mweeks staff 5334 Aug 20 15:57 char_count_per_line.c -rw-r--r--@ 1 mweeks staff 335143 Jul 18 18:09 perchance_org.png -rw-r--r--@ 1 mweeks staff 6374431 Jan 28 2021 perPETuity.mp4 drwxr-xr-x 64 mweeks staff 2048 May 7 11:22 DWT_undo_paper mweeks@air:Desktop$ vi example.txt mweeks@air:Desktop$ cat example.txt one three five mweeks@air:Desktop$ :# hello > example.txt bash: :#: command not found mweeks@air:Desktop$ : # hello > example.txt mweeks@air:Desktop$ ls -l example.txt -rw-r--r-- 1 mweeks staff 0 Sep 4 13:01 example.txt mweeks@air:Desktop$ vi example.txt mweeks@air:Desktop$ cat example.txt two four six mweeks@air:Desktop$ # : hello > example.txt mweeks@air:Desktop$ cat example.txt two four six mweeks@air:Desktop$ cat >> example.txt one three five mweeks@air:Desktop$ cat example.txt two four six one three five mweeks@air:Desktop$ ssh mweeks@snowball.cs.gsu.edu mweeks@snowball.cs.gsu.edu's password: Last failed login: Wed Sep 4 12:37:19 EDT 2024 from snowball.cs.gsu.edu on ssh:notty There were 2 failed login attempts since the last successful login. Last login: Sat Aug 31 14:48:46 2024 from ga.comcast.net + | GSU Computer Science | Instructional Server | SNOWBALL.cs.gsu.edu + [mweeks@gsuad.gsu.edu@snowball ~]$ ps PID TTY TIME CMD 22205 pts/32 00:00:00 bash 22486 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 22567 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ w 13:14:13 up 231 days, 19:21, 80 users, load average: 1.06, 1.07, 1.05 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT vgooge1@ pts/2 131.96.222.5 13:04 1:17 0.02s 0.00s script lab_1.tx ctou3@gs pts/5 131.96.221.58 12:22 24:21 0.03s 0.03s -bash ajohnson pts/7 131.96.220.183 11:37 1:23m 0.04s 0.04s -bash mweeks@g pts/32 131.96.223.66 13:11 5.00s 0.02s 0.01s w ... [some lines deleted] [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 23034 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ cat > testfile one two three I am going to press control-Z ^Z [1]+ Stopped cat > testfile [mweeks@gsuad.gsu.edu@snowball ~]$ ls -l test* -rw-rw-r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 44 Sep 4 13:15 testfile [mweeks@gsuad.gsu.edu@snowball ~]$ more testfile one two three I am going to press control-Z [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 23049 pts/32 00:00:00 cat 23350 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ fg cat > testfile I used fg to bring it to the foreground now I am going to press ctrl-D [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 23573 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ more testfile one two three I am going to press control-Z I used fg to bring it to the foreground now I am going to press ctrl-D [mweeks@gsuad.gsu.edu@snowball ~]$ who kabebe1@gsuad.gsu.edu pts/2 2024-09-04 13:19 (131.96.222.101) ctou3@gsuad.gsu.edu pts/5 2024-09-04 12:22 (131.96.221.58) ajohnson529@gsuad.gsu.edu pts/7 2024-09-04 11:37 (131.96.220.183) mweeks@gsuad.gsu.edu pts/32 2024-09-04 13:11 (131.96.223.66) ... [some lines deleted] [mweeks@gsuad.gsu.edu@snowball ~]$ who | sort adiane1@gsuad.gsu.edu pts/56 2024-09-04 12:42 (131.96.220.51) ajohnson529@gsuad.gsu.edu pts/42 2024-09-04 13:17 (131.96.222.248) ajohnson529@gsuad.gsu.edu pts/7 2024-09-04 11:37 (131.96.220.183) anguyen224@gsuad.gsu.edu pts/17 2024-09-04 12:31 (131.96.220.107) ... [some lines deleted] zritter1@gsuad.gsu.edu pts/70 2024-09-04 13:15 (131.96.221.111) [mweeks@gsuad.gsu.edu@snowball ~]$ cat > donotdothis & [1] 25387 [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 25387 pts/32 00:00:00 cat 25424 pts/32 00:00:00 ps [1]+ Stopped cat > donotdothis [mweeks@gsuad.gsu.edu@snowball ~]$ kill -TERM 25387 [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 25387 pts/32 00:00:00 cat 25477 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ kill -KILL 25387 [1]+ Killed cat > donotdothis [mweeks@gsuad.gsu.edu@snowball ~]$ ps -U mweeks PID TTY TIME CMD 22204 ? 00:00:00 sshd 22205 pts/32 00:00:00 bash 25559 pts/32 00:00:00 ps [mweeks@gsuad.gsu.edu@snowball ~]$ echo kill is example of sending a signal kill is example of sending a signal [mweeks@gsuad.gsu.edu@snowball ~]$ ls ex* example1 example2 [mweeks@gsuad.gsu.edu@snowball ~]$ tail example2 poodle labrador german shepherd yorkie husky pug [mweeks@gsuad.gsu.edu@snowball ~]$ sort < example2 german shepherd husky labrador poodle pug yorkie [mweeks@gsuad.gsu.edu@snowball ~]$ date Wed Sep 4 13:35:39 EDT 2024 [mweeks@gsuad.gsu.edu@snowball ~]$ wc < example2 6 7 49 [mweeks@gsuad.gsu.edu@snowball ~]$ ls -l example2 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Aug 26 13:34 example2 [mweeks@gsuad.gsu.edu@snowball ~]$ man wc ... [ man pages do not show up as normal output ] [mweeks@gsuad.gsu.edu@snowball ~]$ man -k date config.sub (1) - validate and canonicalize a configuration triplet feupdateenv (3) - floating-point rounding and exception handling ftime (3) - return date and time [deleted] xorg-x11-fonts-update-dirs (1) - update X11 font directories yum (8) - Yellowdog Updater Modified yum-shell (8) - Yellowdog Updater Modified shell [mweeks@gsuad.gsu.edu@snowball ~]$ clear [mweeks@gsuad.gsu.edu@snowball ~]$ pwd /home/mweeks [mweeks@gsuad.gsu.edu@snowball ~]$ ls example2* example2 [mweeks@gsuad.gsu.edu@snowball ~]$ cp example2 example3.txt [mweeks@gsuad.gsu.edu@snowball ~]$ ls -l ex* -rw-rw-r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 39 Aug 26 13:18 example1 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Aug 26 13:34 example2 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Sep 4 13:38 example3.txt [mweeks@gsuad.gsu.edu@snowball ~]$ more example3.txt poodle labrador german shepherd yorkie husky pug [mweeks@gsuad.gsu.edu@snowball ~]$ mv example3.txt example3 [mweeks@gsuad.gsu.edu@snowball ~]$ ls ex* example1 example2 example3 [mweeks@gsuad.gsu.edu@snowball ~]$ mkdir examples [mweeks@gsuad.gsu.edu@snowball ~]$ ls -l ex* -rw-rw-r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 39 Aug 26 13:18 example1 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Aug 26 13:34 example2 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Sep 4 13:38 example3 examples: total 0 [mweeks@gsuad.gsu.edu@snowball ~]$ cp example3 examples/ [mweeks@gsuad.gsu.edu@snowball ~]$ ls -l ex* -rw-rw-r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 39 Aug 26 13:18 example1 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Aug 26 13:34 example2 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Sep 4 13:38 example3 examples: total 4 -rw-r--r--. 1 mweeks@gsuad.gsu.edu mweeks@gsuad.gsu.edu 49 Sep 4 13:40 example3 [mweeks@gsuad.gsu.edu@snowball ~]$ rmdir examples rmdir: failed to remove ‘examples’: Directory not empty [mweeks@gsuad.gsu.edu@snowball ~]$ rm examples/example3 [mweeks@gsuad.gsu.edu@snowball ~]$ rmdir examples [mweeks@gsuad.gsu.edu@snowball ~]$ exit logout Connection to snowball.cs.gsu.edu closed. mweeks@air:Desktop$ exit exit Script done on Wed Sep 4 13:47:03 2024