Reputation
669
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 8
Newest
 Yearling
Impact
~36k people reached

  • 0 posts edited
  • 1 helpful flag
  • 26 votes cast
Jul
1
comment Accessing shell variables inside 'sudo' block : export doesn't work
Try firstline=$(head -1 "$filename")
Jul
1
comment Accessing shell variables inside 'sudo' block : export doesn't work
Don't use quote around HERE. Use it like: sudo su<<HERE
Dec
26
comment How to delete old $PATH echo in Mac
Use bash -l -v |& WaterWood when is WaterWood being added
Nov
23
answered Linux/Bash: Create relative soft links to files in directory tree?
Oct
28
comment Warning for rm -r command
Try rm -i command
Aug
25
awarded  Yearling
May
2
awarded  Constituent
Apr
28
awarded  Caucus
Apr
14
comment getting disk identifier from the disk name
That's probably true but OP hasn't provided any realistic information in his question to warrant an answer, that's I just left a comment.
Apr
14
comment getting disk identifier from the disk name
Use df command and store column1
Feb
13
awarded  Commentator
Feb
13
comment Add a Trailing Slash to Single Url
You can just use RedirectMatch 301 ^/(index\.php)$ /$1/ as your first rule.
Feb
9
answered rewrite url in address bar without changing the actual url
Feb
6
comment remove the question mark from url using htaccess
Try this in a new browser.
Feb
6
answered remove the question mark from url using htaccess
Jan
8
comment Finding and renaming files
oh that's perfect :)
Jan
8
answered Finding and renaming files
Jan
8
comment Finding and renaming files
Ok that is pretty old BASH. Can you run find . -type f -name '*\**' to see if it lists correct files.
Jan
8
comment Finding and renaming files
Make sure you're running it under BASH. Also can you check your BASH version on your HP host?
Sep
12
comment “Script” command in Bash on Mac OSX
Run type script and see what you get?