Search Results

Search: Posts Made By: mohca2020
1,257
Posted By MadeInGermany
Your $SERVERFILE has a CR character at the line...
Your $SERVERFILE has a CR character at the line end (usually from being edited in WinDos).
Run dos2unix on it!
1,870
Posted By rbatte1
The redirect to /dev/null for standard output is...
The redirect to /dev/null for standard output is not needed if you use the -q flag on grep because that means no output anyway.

Have you considered a database that is up & running but locked up...
1,870
Posted By Corona688
It gets printed to standard output, which by...
It gets printed to standard output, which by default is your terminal, but pipes | and redirects > send it somewhere else.

$ echo "something"

something

$

Pipes grab the output of the...
1,870
Posted By Corona688
Nope. > /dev/null is not a command, just a...
Nope. > /dev/null is not a command, just a redirection, so doesn't affect $?

Well, usually doesn't. If the file can't be opened, the commands won't be run at all, and exit status ( $? ) will be...
Showing results 1 to 4 of 4

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