*** scooper has quit (Quit: Leaving) | 05:38 | |
mulbah | !agenda | 14:06 |
---|---|---|
LittleWebster | This is the agenda for the next meeting: | 14:06 |
LittleWebster | Report from programming group - 10 min (Janet) (added by jelkner) | 14:07 |
LittleWebster | Report from web dev group - 10 min. (Shallon) (added by jelkner) | 14:07 |
LittleWebster | Report from sys admin group - 10 min. (Thomas) (added by jelkner) | 14:07 |
LittleWebster | Reflection and planning - 30 min. (Everyone) (added by jelkner) | 14:07 |
LittleWebster | Lab work - 60 min. (Everyone) (added by jelkner) | 14:07 |
tmickelson | hello mulbah | 14:25 |
mulbah | hello tmickelsom how are you doing | 14:25 |
tmickelson | im good | 14:26 |
tmickelson | how are you | 14:26 |
mulbah | I'm doing great | 14:26 |
mulbah | so what is the goal for today | 14:27 |
mulbah | hello jeff | 14:27 |
tmickelson | what chapter are you onn | 14:28 |
tmickelson | * on | 14:28 |
jelkner | mulbah, tmickelson is talking you | 14:29 |
mulbah | I | 14:29 |
mulbah | I'm on chapter 6 | 14:30 |
mulbah | Which talk about Redirection | 14:31 |
mulbah | and I really want understand how the head and tail commands work | 14:34 |
tmickelson | head and tail fetch the top and bottom 10 lines of a file | 14:35 |
tmickelson | it can be adjusted using -n <line number> | 14:36 |
tmickelson | eg: head -n 15 file.txt | 14:36 |
tmickelson | would fetch the top 15 lines | 14:36 |
mulbah | let use tmate demonstration ssh nmfK3TQDfQ9dug7NG6EPXGqm8@lon1.tmate.io | 14:37 |
tmickelson | when used with a pipe ("|"), it selects the top or bottom lines from the output | 14:38 |
tmickelson | press ^D | 14:39 |
mulbah | so type in how should i use it | 14:41 |
tmickelson | create a file that has ten lines | 14:41 |
tmickelson | line 1 should say "line 1" or something like that | 14:42 |
tmickelson | you can open/create file using "vim <filename>" | 14:45 |
mulbah | yes | 14:45 |
tmickelson | press "i" to enter insert mode | 14:46 |
tmickelson | then "ESC" to exit | 14:47 |
tmickelson | after exiting insert mode, ":" can be used to run commands | 14:53 |
tmickelson | ":w" to sage | 14:53 |
tmickelson | * save | 14:53 |
tmickelson | and ":q" to exit | 14:54 |
mulbah | I finish | 14:55 |
tmickelson | try getting the top three lines | 14:55 |
mulbah | how | 14:56 |
mulbah | like tail -n 3 | 14:56 |
tmickelson | yes | 14:57 |
mulbah | tail -n 3 try.txt | 14:57 |
tmickelson | +1 | 14:57 |
mulbah | good | 14:57 |
mulbah | it work | 14:57 |
mulbah | so that all about this command | 14:58 |
tmickelson | there is one part left, using it to filter output | 14:58 |
tmickelson | ex: ls -al | head -n 5 | 14:59 |
tmickelson | would get the top five lines from the output | 14:59 |
tmickelson | i have to go now | 14:59 |
tmickelson | bye | 14:59 |
*** tmickelson has quit (Quit: Leaving) | 15:00 | |
mulbah | hello jeff | 15:00 |
mulbah | to was great working with tmickelson | 15:00 |
mulbah | hellow - /msg, /invite, /query, Internet Relay Chat | 15:37 |
mulbah | hellow - /msg/invite/query | 15:37 |
*** mulbah has quit (Remote host closed the connection) | 16:22 | |
*** jelkner has quit (Quit: Leaving) | 16:55 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!