From owner-freebsd-questions@freebsd.org Fri Jun 5 06:20:17 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40F5D341462 for ; Fri, 5 Jun 2020 06:20:17 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2060.outbound.protection.outlook.com [40.92.41.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49dXZ75Kxwz4B1Y for ; Fri, 5 Jun 2020 06:20:15 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ejrTQQ35SXosAA8gCM1G1t8f6+56ddBcQ2hApMJ6sVPCu0yc1swObeBAyz8+S9WD0Zq3HxZ/W3A92QL5LNWE43/iekXG7JgfAJ4hShRjMH3PzveqvOyhmju/jUW5MNGcngZrTwpYrPlCJR30lR61DGlbsBVqEHcoik64m1NLyZjtIwdIK/uKCcGnrjWRM5EcvgJIII5UHVvE8lF1KT6gkA1cI/HUdzumcWAKSmtia7JtkgmD+2zntZBTuhLhQr8I/T8jFPYDi0cdjVCvnsVEb/D1PryMA59+QD+K13/HzTzWk/EfzXDL2+mEkbPFS3YfsD9GEcHdV0+I+kA0Mul8Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6WE2dg48FP5b2gzcuuUqVt1hrLxVR36RBK+DvRN0DsM=; b=HfmcZbDj2bhW/8q4ZvCTrqvqFpDrEpu9BZq6nGFePfMfq4HicrzR5r2abKesuByvM9ri+8MP+vkmrbmcHFHC8MGinE4s+ykM1iA+G0gT0XBAHu4mB9JtMfc0OCqyVitg9UY8kFBkPaJdjkUnGiS6n80VkH995/PSbOmBh09cfc5F4XMrNa7hLaWx4/NaSvcagoa74/3ZIGmiwJFq3DZBO3DimFJtGE/JI9jLI4vH248Edgd+kpOdVKt0v7i11Wx4YGdWFh2wiSy7qTPHOa2Tpv6LmDFBd2pWoHxsAwYfuUXg26RrguGYJkFtBg/8+7xVsP8mVmM+w+CaUkNpzU0xtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.com; dmarc=pass action=none header.from=hotmail.com; dkim=pass header.d=hotmail.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6WE2dg48FP5b2gzcuuUqVt1hrLxVR36RBK+DvRN0DsM=; b=F8GJ9/HBx99caOU0wb4JYjbH8xdNSd/VsnDk3d3xpGeuh2l40GrWP7LKUN7lIAbqzxfPsKPL+McmZXaMdvJAOWIT2YAGO0lKbVFYUvIXmIeZKuE0tsWWZKPCAhIq2KuHW5l0kKRAze4rLaET1YMeqsKHrdASX0e/3lGrmxBR/BAwhc9Uu86VATJx2z71MgL3geV3z7fBgvoEevLmfz87zGJ6kGDV0pjlGEj87SAcYDhJPpgmKcaEmrgHhdTGo4k58NmlYPg4A76npmfKHYzXC1Ptik4iIYDIO81wWBLsldygB6DyGGWPflnaWEpioH0FXOW4rWgdQtpr5jR0jIcXwA== Received: from BN7NAM10FT004.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::4b) by BN7NAM10HT198.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::359) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23; Fri, 5 Jun 2020 06:20:14 +0000 Received: from CY4PR19MB0104.namprd19.prod.outlook.com (2a01:111:e400:7e8f::51) by BN7NAM10FT004.mail.protection.outlook.com (2a01:111:e400:7e8f::414) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Fri, 5 Jun 2020 06:20:14 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:12F4898642F77D7A841C63F89A3836791FA930AC770CE00DC29C763E5EE2608F; UpperCasedChecksum:9A8A26140ECD37F83FAD2E2C21DD751998C640EDB7757A517DE33FC074721BC7; SizeAsReceived:9675; Count:46 Received: from CY4PR19MB0104.namprd19.prod.outlook.com ([fe80::3cba:126c:494b:642e]) by CY4PR19MB0104.namprd19.prod.outlook.com ([fe80::3cba:126c:494b:642e%3]) with mapi id 15.20.3066.018; Fri, 5 Jun 2020 06:20:14 +0000 Date: Fri, 5 Jun 2020 00:20:11 -0600 From: Brandon helsley To: Ralf Mardorf via freebsd-questions , Ralf Mardorf Message-ID: In-Reply-To: References: <20200604225938.3baf5056ebd397f4a4acf81c@sohara.org> <20200604005859.ca438474.freebsd@edvax.de> <20200604020051.0c02472d.freebsd@edvax.de> <20200604074134.89eb6518.freebsd@edvax.de> <20200604225938.3baf5056ebd397f4a4acf81c@sohara.org> Subject: Re: Minimal skills X-ClientProxiedBy: CY4PR19CA0037.namprd19.prod.outlook.com (2603:10b6:903:103::23) To CY4PR19MB0104.namprd19.prod.outlook.com (2603:10b6:910:7a::16) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.39] (184.96.131.37) by CY4PR19CA0037.namprd19.prod.outlook.com (2603:10b6:903:103::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.19 via Frontend Transport; Fri, 5 Jun 2020 06:20:13 +0000 X-Microsoft-Original-Message-ID: X-TMN: [W/VqJiO6nYvxnGPnv1OfTuvpmfEMA18B] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 5d8cd2d9-3979-4e43-08c1-08d80918820c X-MS-TrafficTypeDiagnostic: BN7NAM10HT198: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LdkomFPAW2GpchSjmxrimff3mt1PCxvjg8eNe0XqzK8/7dHIBl8dH3+rFiFkuFRkKsbVwvWcMP5WydYKiqJ1AOscjqQ/ETY5mas1Bif5n4cri/BQp95G/Gy31GOrmnNKCAstC/pXoYf8PqCg9MBoifywtph4KIfo55/Rf5FkxfDzmcetnL2HKxTnDFFEaJezR+g/GyxZILNPkwREim6pCLIODfB4aiHRWZMTEGmt2DRLSfkSjfgED7QFwu5ATfa0 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB0104.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: s4I/QdL1I1N7yMkhQBxayzOFCf+JwFoF0MWFugA8gIG3x3+C5B6g45M8L0WHGcgWl6/HLPu77w/IH2nFO3pS8yrdyG/fBVdwbBnqAcQO6SxgOU1Kr6xdtvJJb9wKyL/DIkf48A2t2Qb0aRaTKK+/Dw== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d8cd2d9-3979-4e43-08c1-08d80918820c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2020 06:20:14.2504 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT198 X-Rspamd-Queue-Id: 49dXZ75Kxwz4B1Y X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=F8GJ9/HB; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.41.60 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-5.58 / 15.00]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-1.01)[-1.015]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.06)[-1.057]; NEURAL_HAM_SHORT(-1.51)[-1.511]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.41.60:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[40.92.41.60:from]; RECEIVED_SPAMHAUS_PBL(0.00)[184.96.131.37:received]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FREEMAIL_TO(0.00)[freebsd.org,rocketmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 06:20:17 -0000 >An MUA does everything for you, but if you like you could use any editor and use command line to send and retrieve emails. Instead of sendmail you probably want to use a replacement such as msmtp, but better use an MUA. All the server related things are provided by your ISP. I see, but don't I need to configure sendmail or postfix to have access to my mailboxes offline? Or can I just transfer email using mbox with thunderbird and have it displayed on the command line without an MTA? offline. > > On Jun 5, 2020 at 12:05 AM, Ralf Mardorf via freebsd-questions wrote: > > > On Thu, 4 Jun 2020 16:47:54 -0600, Brandon helsley wrote: >It seems as though with an mua you can set this up. An MUA does everything for you, but if you like you could use any editor and use command line to send and retrieve emails. Instead of sendmail you probably want to use a replacement such as msmtp, but better use an MUA. All the server related things are provided by your ISP. _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Fri Jun 5 06:22:22 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE82B3417E5 for ; Fri, 5 Jun 2020 06:22:22 +0000 (UTC) (envelope-from bjb@sourcerer.ca) Received: from pmta11.teksavvy.com (pmta11.teksavvy.com [76.10.157.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.teksavvy.com", Issuer "DigiCert SHA2 High Assurance Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49dXcY4gQZz4BSN for ; Fri, 5 Jun 2020 06:22:21 +0000 (UTC) (envelope-from bjb@sourcerer.ca) IronPort-SDR: /JaMgNswnc1S24dC/EwLBtUeG9HP8mSIiw1zAFWaX002MVG96D17Ni6PqSZUrClBOwLZ91WCQE dzjejTqu+Mbw== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2HVCAAX5Nle/5eACkxMGhwBAQEBAQE?= =?us-ascii?q?HAQESAQEEBAEBQIFKgxpUAV6HboU4iAcQmgKBaAsBAQEOIwkBAgQBAYREAoI?= =?us-ascii?q?vJTgTAgMBAQsBAQEFAQEBAQEGBAIChkQMhFIsW28BBAE6MxELCzURPBsGgzq?= =?us-ascii?q?CXCAPPLFOgTSEAoZ8gTiMYAaCAIMjfj6CZwQagRQBCwYCAYYUBI50lFCQMQc?= =?us-ascii?q?DglmINZA5LoJnjh+NNpp2lDKBaoEJcIEFgyUIRxkNkEwXiGOFXiUDMAI1AgY?= =?us-ascii?q?IAQEDCVkBAYxXgkUBAQ?= X-IPAS-Result: =?us-ascii?q?A2HVCAAX5Nle/5eACkxMGhwBAQEBAQEHAQESAQEEBAEBQ?= =?us-ascii?q?IFKgxpUAV6HboU4iAcQmgKBaAsBAQEOIwkBAgQBAYREAoIvJTgTAgMBAQsBA?= =?us-ascii?q?QEFAQEBAQEGBAIChkQMhFIsW28BBAE6MxELCzURPBsGgzqCXCAPPLFOgTSEA?= =?us-ascii?q?oZ8gTiMYAaCAIMjfj6CZwQagRQBCwYCAYYUBI50lFCQMQcDglmINZA5LoJnj?= =?us-ascii?q?h+NNpp2lDKBaoEJcIEFgyUIRxkNkEwXiGOFXiUDMAI1AgYIAQEDCVkBAYxXg?= =?us-ascii?q?kUBAQ?= X-IronPort-AV: E=Sophos;i="5.73,475,1583211600"; d="scan'208";a="137206011" Received: from sourcerer.ca (HELO froggie.stuffed.animals) ([76.10.128.151]) by smtp11.teksavvy.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Jun 2020 02:22:19 -0400 Received: from blueeyes.stuffed.animals ([192.168.111.205]:46350) by froggie.stuffed.animals with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jh5k9-0001tq-LM for freebsd-questions@freebsd.org; Fri, 05 Jun 2020 02:22:19 -0400 Received: from bjb by blueeyes.stuffed.animals with local (Exim 4.89) (envelope-from ) id 1jh5k9-00065B-D0 for freebsd-questions@freebsd.org; Fri, 05 Jun 2020 02:22:17 -0400 Date: Fri, 5 Jun 2020 02:22:17 -0400 From: "Brenda J. Butler" To: freebsd-questions Message-ID: <20200605062217.cjtkdgwqwqqienct@blueeyes.stuffed.animals> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 192.168.111.205 X-SA-Exim-Mail-From: bjb@sourcerer.ca X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on froggie.stuffed.animals X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: Mininal skills X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on froggie.stuffed.animals) X-Rspamd-Queue-Id: 49dXcY4gQZz4BSN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bjb@sourcerer.ca designates 76.10.157.34 as permitted sender) smtp.mailfrom=bjb@sourcerer.ca X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.898]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:pmta11.teksavvy.com]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sourcerer.ca]; NEURAL_HAM_LONG(-0.97)[-0.967]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.71)[-0.709]; RCVD_IN_DNSWL_LOW(-0.10)[76.10.157.34:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5645, ipnet:76.10.128.0/19, country:CA]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 06:22:22 -0000 On Thu, Jun 04, 2020 at 03:14:51AM -0600, Brandon helsley wrote: > Great advice from all of you!!! I really feel like I'm getting > started. I'll check out your instructions and see where I stand with > my understanding of the OS. I have been wanting to learn networking > but my asperations are very limited when I have only one NIC. In the > future ill make the formatting of my messages correct as well. At > least I'll try. The person who had the firewall suggestions has answered your "what I should learn, and by the way I'm interested in networking" question very well. As for "what is shell programming" ... it's the same as regular programming but written in a language that doesn't need to be compiled. Often the shell program calls on other programs to do the work. So learning "shell programming" is about more than learning the shell language - it is also about learning enough of those other little utilities to be able to do something useful in the shell. Granted, as time goes by, there is more and more functionality built right in to the shell - but there are a few utilities that are pretty much indispensable. There are the standards ls cat less date time seq sort uniq strings grep diff patch od dd cut tr and suchlike, then there are other shells and script interpreters like sed awk perl python A couple of those are both script interpreters and programming languages. The line between them can be a bit blurry. The lists above are only short examples lists - really the quantity of things to learn is astounding. And while there is more stuff to learn as time goes by (both more utilities, and more features in each utility), at least most of what you have already learned in unix-world is still applicable - truly a "build on the shoulders" situation rather than a "throw out everything you ever knew and start all over", "groundhog day" kind of situation. So yes, I also recommend reading the "old" Kernighan and Ritchie C book (I agree, 2nd edition is the earliest edition you should get of that book). It's not like math becomes invalid because it gets old. C++ is pretty much a superset of C, so learning C by itself is not a "waste of time". It's a stepping stone to learning C++, as well as a useful end goal by itself. Get familiar with the man pages for the above as well (I mean the utilities - for the shells it is better to read tutorial style books) and try out the commands. Some man pages are longer than others : -) Read the man page for man. By the way: "man" stands for "manual". And, you can read shorter man pages as a way to learn the utility, but longer man pages are generally organized as references rather than tutorials and are not great for learning from scratch. To answer your questions about diff and patch - there was already a good answer in this email thread. But I also made a show about that on hacker public radio. The show notes repeat the show verbatim so you don't have to listen to the show - all the info is in the notes. https://www.hackerpublicradio.org/eps.php?id=2619 I go into a lot of detail about the terminology of diff and patch, and what they can be used for in a programming workflow - suitable for beginners. You probably only need to read the introduction unless you want to read the bit after, about quilt, which is another utility for managing patches. I describe everything from first principles, esp in the introduction which is the part you are probably most interested in. Another show I did talked at a beginner level about processes and how processes communicate with each other in the shell. This show was talking about how virtualenv and virtualenvwrapper work. But that doesn't matter - have a look at the material and you will learn a bit about processes, the process hierarchy and the different ways information gets into and out of programs. That second show is at: http://hackerpublicradio.org/eps.php?id=2322 I talk about Linux in those shows - but 9/10ths or even 99/100ths of what I talk about is applicable to the BSDs. The common thread is the shared Unix heritage. ----------- In case you are curious: I use mutt for my MUA (aka mail reader) and within mutt I use emacs as my text editor when actually composing emails. Emacs has facilities for reflowing the paragraphs (even when there are quote markers at the left). Contrary to what someone else said in this email thread, I recommend learning vi (or the basic parts of vim). Sooner or later you will be on a machine that does not have any editor and you will have to use vi. Best to learn the basics of vi. You can continue to master it, or choose another editor for your main work environment, but you should know a enough vi to edit config files or scritps, save them and exit. And keep asking questions! bjb