Posts
 
Reputation
Joined
Last Seen
Ranked #782
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
24
Posts with Upvotes
22
Upvoting Members
21
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
9 Commented Posts
0 Endorsements
Ranked #417
Member Avatar for eddiekudzayi

Hi eddie! It's been a while since I've set up any ecommerce sites, but as far as open source stuff goes, opensourcecms.com has always been a good place to read and compare. Here's the link to their ecommerce section: [url]http://php.opensourcecms.com/scripts/show.php?catid=3&category=eCommerce[/url] I hope this helps!

Member Avatar for EpifaniaPersons
0
682
Member Avatar for lewashby

It sounds like you already have the Pi, but I got a cubieboard for this purpose because it has an actual SATA port. I've got a 1TB 2.5" drive, powered through the cubieboard (Just make sure your power supply is at least 2amps or better!).

Member Avatar for lewashby
0
309
Member Avatar for basketmen

Seems like @rch1231 has what OP is looking for. Here's an alternative that I like, using the 'seq' command as the counter: #!/bin/bash while true; do for i in $(seq 1 20); do wget http://test.com done sleep 2 done I hope this helps!

Member Avatar for JeoSaurus
0
411
Member Avatar for ITPT

ITPT: Check out R1Soft (Idera Server Backup) or Crashplan. I don't know of any one piece of software that will do backups AND notify you of hardware changes on the client side, but if you want incremental or continuous backups scheduled from a central server, R1Soft is a good choice. …

Member Avatar for Viola71
0
358
Member Avatar for rohan1111

You could also just call the interpreter first. For instance, if we know that "$1" is a shell script: `/bin/sh $1` or `/bin/bash $1` I hope rohan1111 gets back to us about what the problem was. If the script really is essentially (as others have guessed) just: chmod 744 $1 …

Member Avatar for rohan1111
0
186
Member Avatar for neeraj_shri

Apt is what makes Ubuntu (and Debian) awesome! You should be able to get MySQL running with a single command: `sudo apt-get install mysql-server mysql-client ` Unless there's a really good reason (like you need a specific version of mysql that isn't in the Ubuntu repository) I wouldn't install it …

Member Avatar for JeoSaurus
0
396
Member Avatar for John_Peter

Most options for .bash_profile that are cross-platform compatible, though you may need to script something to detect paths for different OS's. What kind of profile options are you looking for? As far as OS detection, here's a link that should get you started: [Click Here](http://f00bar.com/blog/2011/07/09/simple-robust-os-detection-in-bash-using-ostype/) I hope this helps! -Jeo

Member Avatar for JeoSaurus
0
158
Member Avatar for Siberian

Siberian, do you still need help with this? What exactly are you trying to find out? Thanks! -G

Member Avatar for JeoSaurus
0
115
Member Avatar for msrikanth

Hi! Do you have the 'bc' command, or 'printf' available in your shell? You should be able to convert values to and from different formats with one of those. All the information you need should be in the man pages, but let us know if you need examples.

Member Avatar for JeoSaurus
0
89
Member Avatar for mathura.shreedher

If you want to get data from a web page and do something with it, there are lots of good options. Depending on what you want to do, one of my favorites is wget. Here's an example: wget -qO- ipchicken.com This gets you the raw html from ipchicken.com. You can …

Member Avatar for JeoSaurus
0
143
Member Avatar for hisan

Like Woooee suggested, cron is usually the best way to schedule something like this reliably. python does have a 'sleep()' function to make this easy though! Example: [code] #!/usr/bin/python import time while True: print "x" time.sleep(10) [/code] I hope this helps! -Jeo

Member Avatar for 3e0jUn
0
1K
Member Avatar for Jacklittle01

If you DO mean 'pylunch', you might want to start with their official documentation: [http://pylunch.googlecode.com/files/PyLunch-0.2.pdf](http://pylunch.googlecode.com/files/PyLunch-0.2.pdf) I hope this helps!

Member Avatar for JeoSaurus
0
138
Member Avatar for McLaren

Hidden files should be included in du output. I'm not familiar with ncdu, but I'm checking it out now! What do you get from this command: `sudo du -sh /` Thanks! -G

Member Avatar for JeoSaurus
0
263
Member Avatar for techman41973

I like to use 'tee' to print the results to the console AND to a file. Also, the "--color=auto" option to grep can help with readability of output, but I'm not sure how well it works in all shells when reading the results from a text file. Try something like …

Member Avatar for JeoSaurus
0
306
Member Avatar for dihmen

CimmerianX, are you some kind of masochist? That sounds like fun though! I'll bet you could get openvz running somewhere in there too. dihmen, I assume you are interested in using the built-in "KVM" (Kernel Virtual Machine) functionality in CentOS/RHEL 6. Here's a guide to setting up and running KVM …

Member Avatar for JeoSaurus
0
228
Member Avatar for techman41973

Hi! Try using the date command to generate the date for the filename. Something like this should work: zip -r forum_backup_$(date +%Y%m%d) ~/public_html/forum/* I took some liberty with the date format there. If you put the date first, then the month and day, it sorts nicely. You can re-arrange them …

Member Avatar for JeoSaurus
0
258
Member Avatar for moe2

Hello Moe2! You may want to look into using [pam_passwdqc.so](http://www.techrepublic.com/article/enforce-strong-passwords-with-pampasswdqc/6111316). If configured correctly, it should tell the user what's acceptable when the passwd command is invoked. I hope this helps! -G

Member Avatar for JeoSaurus
0
128
Member Avatar for old_apache

Regex! Try something like this: var='96.33% from 120' decimal=$(echo $var|grep -Eo '[0-9]*\.[0-9]*') echo $decimal I hope this helps! -G

Member Avatar for old_apache
0
239
Member Avatar for coding101

I'm not completely sure, but I don't think you can use TLS over netcat. You'll need something to handle the SSL/TLS connection. It looks like you can do this with something like 'gnutls-cli' or even the 'openssl' client. This might be what you're looking for: [example using openssl](http://mikeberggren.com/post/1245298681/manual-tls-test) [example using …

Member Avatar for JeoSaurus
0
108
Member Avatar for voidyman

Hi voidyman! I'm not sure how you got those fonts in here, but it sure makes your post hard to read! A quick check of your script with 'perl -c' shows that the script (at least what you've pasted here) is missing a curly bracket at the end of the …

Member Avatar for 2teez
0
392
Member Avatar for landog

Hello landog! I'm not sure exactly where that particular error comes from, but there are a couple of issues with this. First, when comparing integers you'll want to use the '-eq' operator. Use '=' to compare strings. I think '==' won't work in some shells. Second, your 'if' statement is …

Member Avatar for laksh.ss
0
165
Member Avatar for dwlamb

Cut works well for that! Or awk: echo $file | awk -F/ '{print $3}' You could also do something with sed... echo $file | sed -n 's%/media/\([^/]*\)/.*%\1%p' HTH! -G

Member Avatar for cheochi
0
179
Member Avatar for Baduizm

Neat! Do you want the date to be updated each time? In your code snippet, you run the 'date' command one time, so each entry will be the same date/time. Try something like this! #!/bin/sh for i in $(seq 1 600); do date |tee -a outputfile sleep 1 done Or …

Member Avatar for JeoSaurus
0
171
Member Avatar for MCLASS80

Hi MCLASS80! Have you got any sample data for us? What are you using to get the dump? Could we see that part of your existing script? From there, we should be able to help you figure out how to trim out the unwanted stuff. Thanks!

Member Avatar for Watael
0
128
Member Avatar for Rbezona

Hello Rbezona! I think it might help if we could see the script that was used. I can't think of anything specific to ksh that would cause that behavior, but I'm wondering if perhaps each iteration was starting over from the beginning with a longer list of files... For instance …

Member Avatar for JeoSaurus
0
119
Member Avatar for dwlamb

I wonder if adding the '-v' flag to your mv command would give you what you're looking for? Example: find /media/D_Drive/Music/ -name '*&*.*' -exec sh -c 'mv -v "$0" "${0%//\&/and}"' {} \; Aside from that, I think what I would end up doing is just using find to get the …

Member Avatar for chris.stout
0
80
Member Avatar for Sundown G

Hi Sundown G! It looks like you've got the sum down pretty well. What have you tried for the max number, average and multiplication options? Multiplication should be fairly similar to what you're doing with the sum here (try something simple like `sum=$((sum*choice[a]))`, but make sure you set sum=1 before …

Member Avatar for JeoSaurus
0
120
Member Avatar for dwlamb

Hello dwlamb! Without your exact example data it's hard to tell for sure, but I believe that bash expects the first parameter to be a variable, which means you can leave out the '$'. This simplified example seems to work for me, and might give you a better idea of …

Member Avatar for JeoSaurus
0
447
Member Avatar for msrikanth

Hello Srikanth! This should be pretty easy in csh, depending on what utilities you have installed. Do you have 'wget', 'netcat' (nc) or 'curl' available in the shell?

Member Avatar for JeoSaurus
0
254
Member Avatar for dinesh17

/etc/rc.local is a good place to put simple scripts that you want executed at boot-time. Lines in rc.local are executed as root (unless specified otherwise) and after all the other startup scripts have run.

Member Avatar for JeoSaurus
0
183