Actually this is a good hint at how to do advanced commands in VI.
g/outahere/d
will globally find every line with outta here in it and delete that line.
Perhaps we need a gred command to delete all files with a word in them :-)
Actually makes me remember when I was only able to see two or three lines on
my Sun computer I switched from using vi to using ex. There were a couple
things that were difficult to do in ex blike joining two lines, but usually I
found I was less likely to lose the cursor in 30 lines of text, and could
usually get things done just as efficiently. I wonder, if we could take that
idea and pair it withBraille routing keys to make an efficient editor for
braille users.
I expect this would be easier to create on a android based notetaker than on a
Macintosh.
Any thoughts?
Best wishes,
Jonathan Cohn
> On Jun 29, 2017, at 11:16 PM, 'Janina Sajka' via MacVisionaries
> <[email protected]> wrote:
>
> My favorite obscure command is grep. I believe it means "get
> repetition." Checking with Wikipedia I find it's a bit more elaborate:
> "globally search a regular expression and print."
>
> https://en.wikipedia.org/wiki/Grep
>
>
> Anyway you slice it, it's a funny way to say "Find!"
> I wonder whether Google Maps, or Amazon Echo would respond to "grep
> store?" I'll have to test out of morbid curiosity.
>
> Janina
>
>
> Scott Granados writes:
>> No I get super user, I’ve heard root referred to as the super user for years
>> I just didn’t think su was super user because it
>> associates to all users not just root.
>>
>> For example, typing su - Janina would switch to and use the environmental
>> variables of the Janina account. Simply doing su - with no user selects
>> root probably telling you what you already know. (The trailing - using the
>> environmental variables of the target user instead of the originating user)
>>
>> Here’s an article from wikipedia that seems to indicate we’re all right. SU
>> can mean switch user, substitute user or super user. Interesting. Read
>> more here.
>>
>> https://en.wikipedia.org/wiki/Su_(Unix)
>>
>> Makes me wonder what other command acronyms I have taken for granted. Ping
>> is my favorite so far, packet internet groper if memory serves.:)
>>
>>> On Jun 29, 2017, at 11:29 AM, 'Janina Sajka' via MacVisionaries
>>> <[email protected]> wrote:
>>>
>>> Hey, Scott:
>>>
>>> The feeling is mutual.
>>>
>>>
>>> There's a bit more vocabulary associated with su. It's super user
>>> because this is the user with extraordinary powers that will trump all
>>> other permissions on the system.
>>>
>>> Simple example: If you have multiple users and one forgets their
>>> password, the super user can reset that user's password.
>>>
>>> Janina
>>>
>>> Scott Granados writes:
>>>> And here I always thought it was switch user as that’s what it really does
>>>> not necessarily switching to root although that’s the most common use.
>>>> Learn something new everytime you post, how about that!
>>>>
>>>>> On Jun 29, 2017, at 11:17 AM, 'Janina Sajka' via MacVisionaries
>>>>> <[email protected]> wrote:
>>>>>
>>>>> I believe su was (and is) "super user," not "substitute user."
>>>>>
>>>>> Jonathan Cohn writes:
>>>>>> Ah, be very careful of any command in terminal that requires your
>>>>>> password. These are commands that are using the "sudo" command.
>>>>>>
>>>>>> Sudo essentially says run this as root which is the most privileged user
>>>>>> on a UNIX system. While you can not break system files in Sierra due to
>>>>>> extra security added, any file in user space can be viewed or modified
>>>>>> when you use the sudo command.
>>>>>> Why sudo you might ask? Well originally there was su for substitute
>>>>>> user. This allows one to access the computer with another permissions
>>>>>> for a while.
>>>>>>
>>>>>> sudo is a bit more secure in that:
>>>>>> 1. There is a configuration file in /etc/sudoers that says what commands
>>>>>> can be executed by whom whith what rights.
>>>>>> 2. It prompts you four your password rather than the person you are
>>>>>> trying to execute as so there is no need to share a password to do this
>>>>>> work.
>>>>>>
>>>>>> Take care,
>>>>>> Jonathan Cohn
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Jun 27, 2017, at 4:51 PM, E.T. <[email protected]> wrote:
>>>>>>>
>>>>>>> Last I ran Terminal, I simply pasted code in and pressed enter. In some
>>>>>>> cases you may be asked for your log in password.
>>>>>>>
>>>>>>> From E.T.'s Keyboard. . .
>>>>>>> "God for you is where you sweep away all the
>>>>>>> mysteries of the world, all the challenges to
>>>>>>> our intelligence. You simply turn your mind off
>>>>>>> and say God did it." --Carl Sagan
>>>>>>> E-mail: [email protected]
>>>>>>>
>>>>>>> On 6/27/2017 1:48 PM, Sharon Hooley wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I want to try copying and pasting the coding that was sent earlier. I
>>>>>>>> found Terminal in the “others” folder. when I entered I found my last
>>>>>>>> log-in date, among other things, including shell . I don’t know where
>>>>>>>> to type or paste. . Then I inadvertently closed the window so that
>>>>>>>> it said, “Terminal has no windows”. So how, exactly, do I use it to
>>>>>>>> put in code?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> The following information is important for all members of the Mac
>>>>>>> Visionaries list.
>>>>>>>
>>>>>>> If you have any questions or concerns about the running of this list,
>>>>>>> or if you feel that a member's post is inappropriate, please contact
>>>>>>> the owners or moderators directly rather than posting on the list
>>>>>>> itself.
>>>>>>>
>>>>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark
>>>>>>> at: [email protected] and your owner is Cara
>>>>>>> Quinn - you can reach Cara at [email protected]
>>>>>>>
>>>>>>> The archives for this list can be searched at:
>>>>>>> http://www.mail-archive.com/[email protected]/
>>>>>>> --- You received this message because you are subscribed to the Google
>>>>>>> Groups "MacVisionaries" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>>> an email to [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>> --
>>>>>> The following information is important for all members of the Mac
>>>>>> Visionaries list.
>>>>>>
>>>>>> If you have any questions or concerns about the running of this list, or
>>>>>> if you feel that a member's post is inappropriate, please contact the
>>>>>> owners or moderators directly rather than posting on the list itself.
>>>>>>
>>>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark
>>>>>> at: [email protected] and your owner is Cara
>>>>>> Quinn - you can reach Cara at [email protected]
>>>>>>
>>>>>> The archives for this list can be searched at:
>>>>>> http://www.mail-archive.com/[email protected]/
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "MacVisionaries" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>> an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>> --
>>>>>
>>>>> Janina Sajka, Phone: +1.443.300.2200
>>>>> sip:[email protected]
>>>>> Email: [email protected]
>>>>>
>>>>> Linux Foundation Fellow
>>>>> Executive Chair, Accessibility Workgroup: http://a11y.org
>>>>>
>>>>> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
>>>>> Chair, Accessible Platform Architectures http://www.w3.org/wai/apa
>>>>>
>>>>> --
>>>>> The following information is important for all members of the Mac
>>>>> Visionaries list.
>>>>>
>>>>> If you have any questions or concerns about the running of this list, or
>>>>> if you feel that a member's post is inappropriate, please contact the
>>>>> owners or moderators directly rather than posting on the list itself.
>>>>>
>>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark
>>>>> at: [email protected] and your owner is Cara
>>>>> Quinn - you can reach Cara at [email protected]
>>>>>
>>>>> The archives for this list can be searched at:
>>>>> http://www.mail-archive.com/[email protected]/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google Groups
>>>>> "MacVisionaries" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>>> email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>> --
>>>> The following information is important for all members of the Mac
>>>> Visionaries list.
>>>>
>>>> If you have any questions or concerns about the running of this list, or
>>>> if you feel that a member's post is inappropriate, please contact the
>>>> owners or moderators directly rather than posting on the list itself.
>>>>
>>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark
>>>> at: [email protected] and your owner is Cara
>>>> Quinn - you can reach Cara at [email protected]
>>>>
>>>> The archives for this list can be searched at:
>>>> http://www.mail-archive.com/[email protected]/
>>>> ---
>>>> You received this message because you are subscribed to the Google Groups
>>>> "MacVisionaries" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>> email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>>
>>> Janina Sajka, Phone: +1.443.300.2200
>>> sip:[email protected]
>>> Email: [email protected]
>>>
>>> Linux Foundation Fellow
>>> Executive Chair, Accessibility Workgroup: http://a11y.org
>>>
>>> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
>>> Chair, Accessible Platform Architectures http://www.w3.org/wai/apa
>>>
>>> --
>>> The following information is important for all members of the Mac
>>> Visionaries list.
>>>
>>> If you have any questions or concerns about the running of this list, or if
>>> you feel that a member's post is inappropriate, please contact the owners
>>> or moderators directly rather than posting on the list itself.
>>>
>>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
>>> [email protected] and your owner is Cara Quinn -
>>> you can reach Cara at [email protected]
>>>
>>> The archives for this list can be searched at:
>>> http://www.mail-archive.com/[email protected]/
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "MacVisionaries" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/macvisionaries.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> The following information is important for all members of the Mac
>> Visionaries list.
>>
>> If you have any questions or concerns about the running of this list, or if
>> you feel that a member's post is inappropriate, please contact the owners or
>> moderators directly rather than posting on the list itself.
>>
>> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
>> [email protected] and your owner is Cara Quinn - you
>> can reach Cara at [email protected]
>>
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/[email protected]/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/macvisionaries.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> Janina Sajka, Phone: +1.443.300.2200
> sip:[email protected]
> Email: [email protected]
>
> Linux Foundation Fellow
> Executive Chair, Accessibility Workgroup: http://a11y.org
>
> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
> Chair, Accessible Platform Architectures http://www.w3.org/wai/apa
>
> --
> The following information is important for all members of the Mac Visionaries
> list.
>
> If you have any questions or concerns about the running of this list, or if
> you feel that a member's post is inappropriate, please contact the owners or
> moderators directly rather than posting on the list itself.
>
> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
> [email protected] and your owner is Cara Quinn - you
> can reach Cara at [email protected]
>
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/
> ---
> You received this message because you are subscribed to the Google Groups
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.
--
The following information is important for all members of the Mac Visionaries
list.
If you have any questions or concerns about the running of this list, or if you
feel that a member's post is inappropriate, please contact the owners or
moderators directly rather than posting on the list itself.
Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
[email protected] and your owner is Cara Quinn - you
can reach Cara at [email protected]
The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
---
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.