Reputation
692
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 17
Newest
 Revival
Impact
~31k people reached

Jul
25
answered Bash find file with specific permission for group, no matter permission for user and others
Jul
22
revised cron and lftp issue
formatting
Jul
22
comment cron and lftp issue
I bet the object of your email is "some-hostname Report" when run interractively and " Report" when run with Cron, Amirite?
Jul
22
answered cron and lftp issue
Jul
22
suggested approved edit on cron and lftp issue
Jul
22
revised find command with parameters in variable
deleted 92 characters in body
Jul
21
revised find command with parameters in variable
added 296 characters in body
Jul
21
answered find command with parameters in variable
Jul
12
awarded  Revival
Jun
17
comment unexpected end of file error in script file
On a related note: if [ $result_nc != 0 ] will not work. You should simply if nc -z $Host $Port What you're doing is comparing the variable $result_nc ('nc -z $Host $Port; echo $?') with 0, which will never be true.
Jun
15
comment Can you configure per-network SSH settings?
Simply duplicate that config using a name like github.com@stoopid ?
Jun
11
awarded  Informed
Jun
10
awarded  Citizen Patrol
Jun
8
answered Find difference in file encoding
Jun
1
comment Doing a backup with mysqldump and drop it on another server (Bash)
Don't give execution access to a server that only needs read/write access to a certain destination. Downvote for security madness.
May
31
comment Error with a specific bash script
That said, you should add this line to the start of your file: set -x and post the output then. That's how you debug some bash.
May
31
comment Error with a specific bash script
ServerFault is not a script debugging service. Read on the language you are using.
May
18
awarded  Good Answer
May
4
comment Shell Script to connect to Database and execute query
Query="..." ... $query; Your problem is here...
May
2
awarded  Yearling