What happened to the consoles?
MR ZenWiz
mrzenwiz at gmail.com
Sat Mar 25 17:54:01 UTC 2017
On Sat, Mar 25, 2017 at 9:47 AM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> Hi,
>
>> On 25 Mar 2017, at 17:01, MR ZenWiz <mrzenwiz at gmail.com> wrote:
>>
>> psg ()
>> {
>> /bin/ps -ef | $grep -i "$*" | $grep -v $grep
>> }
>
> What is $grep for?
>
In order to ensure against spoofing, I have certain commands defined
in my functions file in variables. $grep is just /bin/grep (simpler
notation inside the file - I use it in a lot of places). Same with
$find,$egrep and a couple of others I don't recall offhand.
I gotta remember to expand all that stuff when I post...
Thanks.
More information about the ubuntu-users
mailing list