Minimal skills

Brandon helsley brandon.helsley at hotmail.com
Thu Jun 4 08:25:35 UTC 2020


 
 

 
 
>An example of basic shell commands, done on GNU Linux bash, but it's
 
not really different to FreeBSD and/or another shell ;).
 

 
>[rocketmouse at archlinux tmp]$ echo "1234"  >  file_a.txt; echo "1234"  >>  file_a.txt
 
[rocketmouse at archlinux tmp]$ echo "1234"  >  file_b.txt; echo "5678"  >>  file_b.txt
 
[rocketmouse at archlinux tmp]$ cat file_a.txt
 
1234
 
1234
 
[rocketmouse at archlinux tmp]$ cat file_b.txt
 
1234
 
5678
 
[rocketmouse at archlinux tmp]$ diff file_a.txt file_b.txt
 
2c2
 
<  1234
 
---
 
>  5678
 

 
>Why do you want to make a PC (I assume it is intended to be
 
>used as a workstation) a mail _server_?
 

 
>If this is the domain the OP likes, it's probably a good project to
 
learn, right after having basic skills in writing shell scripts.
 
 

 

 
First, before I try to understand that. What exactly is "writing shell scripts" is this similar to editing resource script files like .xinitrc or .xsession?
 

 

 
 
 
 
>  
> On Jun 4, 2020 at 2:20 AM, Ralf Mardorf via freebsd-questions  <freebsd-questions at freebsd.org>  wrote:
>  
>  
>  On Thu, 4 Jun 2020 08:23:04 +0200, Polytropon wrote:  >On Wed, 3 Jun 2020 23:56:37 -0600, Brandon helsley wrote:  >>  diff An example of basic shell commands, done on GNU Linux bash, but it's not really different to FreeBSD and/or another shell ;). [rocketmouse at archlinux tmp]$ echo "1234"  >   file_a.txt; echo "1234"  >>   file_a.txt  [rocketmouse at archlinux tmp]$ echo "1234"  >   file_b.txt; echo "5678"  >>   file_b.txt  [rocketmouse at archlinux tmp]$ cat  file_a.txt  1234 1234 [rocketmouse at archlinux tmp]$ cat  file_b.txt  1234 5678 [rocketmouse at archlinux tmp]$ diff  file_a.txt   file_b.txt  2c2  <  1234 ---  >  5678  >Why do you want to make a PC (I assume it is intended to be  >used as a workstation) a mail _server_? If this is the domain the OP likes, it's probably a good project to learn, right after having basic skills in writing shell scripts. _______________________________________________ freebsd-questions at freebsd.org  mailing list  https://lists.freebsd.org/mailman/listinfo
/freebsd-questions  To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" 
>  
     


More information about the freebsd-questions mailing list