Reputation
5,478
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 8 16
Newest
 bash
Impact
~429k people reached

Jul
23
answered find command with parameters in variable
Jul
22
comment cron and lftp issue
What appears in /root/log/$HOSTNAME.log?
Jun
17
comment unexpected end of file error in script file
Is your script in DOS/Windows format (\r\n line endings) instead of unix (just \n)? You can use cat -vet scriptname to check (look for "^M$" at the ends of lines, instead of just "$").
Jun
17
comment unexpected end of file error in script file
Also, the result_nc thing can be skipped entirely by using if ! nc -z $Host $Port; then (or nc -z $Host $Port; result_nc=$? if you actually need to store the exit code for some reason). I'll also recommend shellcheck.net for basic sanity-checking.
Jun
15
comment 802.1x Login Window profile fails because it “can't prompt for missing properties”
@eggyal: Hmm, i misunderstood. I don't know of a way to set up 2-factor authentication at login time; sorry.
Jun
14
answered 802.1x Login Window profile fails because it “can't prompt for missing properties”
Jun
12
comment Enrollment Profile fails to install in Apple Configurator
@fischgeek How is it hooked to the server? If it's a USB connection, that won't provide a network connection (which enrollment needs).
Jun
10
comment Strange filename encoding
Combining @AD7six and @Smiling Dragon's suggestions with a locale setting (just in case), try ls 12287* | LC_ALL=C cat -vet. I'm betting one file is listed as "12287_KKL_MessegerM-CM-$t_EF_30.1.pdf$" and the other as "12287_KKL_MessegeraM-LM-^Ht_EF_30.1.pdf$". The difference is "M-CM-$" (hex c3a4, which is UTF-8 for U+00E4, "a" with umlaut) vs "aM-LM-^H" ("a" + hex cc88, UTF-8 for U+0061, combining umlaut). They look identical, but they're different byte strings, and hence different filenames. Look up equivalence in unicode and weep.
Jun
8
awarded  bash
May
31
comment Error with a specific bash script
It looks like vlist's output isn't in the format the script expects. Can you include a sample of what vzlist -o ctid,laverage actually prints on your system?
May
31
awarded  Yearling
Apr
15
answered Is it better to use rsync over SSHFS or over CIFS as remote repository, having no option for rsyncd?
Apr
4
answered “dsconfigad: Invalid credentials supplied for binding to the server” when baking in password
Mar
20
comment Network account problems with mac server OSX 10.6 Snow Leopard
I'd still fix this -- OS X Server really wants to be able to find itself via reverse DNS, and not all functions will work properly if it's not set up. I'm also still not convinced this isn't the cause of the freeze. So humor me: fix the DNS, and see what happens.
Mar
19
answered Network account problems with mac server OSX 10.6 Snow Leopard
Mar
6
comment Mac Maverrick AD binding
The MDNS traffic suggests you may be using an AD domain name with a .local suffix. Is this the case?
Feb
26
awarded  Good Answer
Feb
17
awarded  mac-osx
Jan
29
comment rsync not behaving the same in script vs shell
Don't store the rsync command in a variable, it doesn't work. See BashFAQ #50: I'm trying to put a command in a variable, but the complex cases always fail!. Also, echo isn't showing you what you think it is... try running echo rsync -avzhP --delete-after --stats -n root@vmhost2:"/vmfs/volumes/OfficeProd/iDRAC\ Nat" "/srv/backups/prod" and note that it prints the string AFTER quotes have been removed.
Jan
12
comment Private Network Interface between to MacOSX servers
Also, what does route get 10.0.1.5x show on each of the computers (with "5x" being the other computer)?