Search Results

Search: Posts Made By: phil518
9,591
Posted By bitlord
You have to login and run the command ssh...
You have to login and run the command
ssh user@server ps -ef
or if you want a user or program process
ssh user@ps -ef|grep user

I hope this helps
9,591
Posted By RudiC
You can't unless you a) login b) have a remote...
You can't unless you a) login b) have a remote mgmt tool.
2,461
Posted By Don Cragun
The cat utility is being asked to read a file;...
The cat utility is being asked to read a file; the source utility is being asked to execute a file. When you execute a file, lots of additional processing is invoked to find the file to be executed...
2,461
Posted By grep_me
source is command to execute other shell...
source is command to execute other shell commands, so if you say
source foo
it will try to run the command foo (alias in this case)
If foo is a script why are you using source command to run...
Forum: Red Hat 11-19-2011
2,272
Posted By jim mcnamara
This kind of behavior comes about by changing the...
This kind of behavior comes about by changing the ls executable for a custom one.
root kits install compromised commands like this to hide all of the extra code they have buried into the system and...
5,395
Posted By Corona688
It's a typical locale setting for fairly recent...
It's a typical locale setting for fairly recent Linux in general. It solves a lot of interchange problems at one blow while still letting you use programs that demand plain ASCII. Of course it can...
5,395
Posted By Corona688
LC_ALL="C" grep parameters ... Or maybe, at the...
LC_ALL="C" grep parameters ... Or maybe, at the top of your script:LC_ALL="c"
export LC_ALL

I suspect that depends on the regex, but I don't think the penalty would be nearly as bad.
5,395
Posted By Corona688
Imagine every possible language UTF8 supports,...
Imagine every possible language UTF8 supports, including ones where a letter's "case" has strict and complicated rules. All of that's what you're asking grep to check for when doing case-insensitive...
5,395
Posted By methyl
This problem has cropped up a few times recently....
This problem has cropped up a few times recently.

The default "locale" for GNU utility programs including "grep" and "sort" has changed to "UTF" which means that mapping one "character" can take...
5,395
Posted By binlib
Again, it's the fault of I18N. Set LC_ALL to C,...
Again, it's the fault of I18N. Set LC_ALL to C, you will see that the -i run is only twice as long.
5,395
Posted By Corona688
Is this GNU grep? The GNU utilities, unusually,...
Is this GNU grep? The GNU utilities, unusually, try to handle your character set as appropriate. This means when you tell it to be case insensitive, that busts out some pretty heavy-duty routines...
5,395
Posted By frank_rizzo
probably because it has to convert the case of...
probably because it has to convert the case of every line. try this and see what happens. grep -e V -e v ...
3,160
Posted By m.d.ludwig
@citaylor Yes, shell return status is...
@citaylor

Yes, shell return status is "opposite of typical". It is a consequence of using a exit status that is limited to a single value between 0 and 255. Indicating why a command fails with...
3,160
Posted By citaylor
Im afraid that is incorrect. A return code of...
Im afraid that is incorrect. A return code of zero in UNIX land means "true" and one means "false". Try running:
true ; echo $?
false ; echo $?
2,071
Posted By jim mcnamara
du -sh list - I'm assuming list is a list of...
du -sh list - I'm assuming list is a list of directories in someplace like /home where the username is the home directory.

du has to find the directory, then stat the files in the directory. It...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy