Reputation
15,961
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 38 55
Newest
 Enlightened
Impact
~1.9m people reached

May
29
awarded  Enlightened
May
29
awarded  Nice Answer
May
24
awarded  Enlightened
May
24
awarded  Nice Answer
Apr
29
awarded  Good Answer
Apr
2
comment Ubuntu 14.04 deleted www directory from /var/www and need to restore it
So you want to restore the directory even if it's empty, rather than wanting to recover the files? "recreate a directory" vs "recover deleted files" are quite different things.
Apr
1
comment How can I split a line in 2 by words/characters? (Bash) (Regex)
@gniourf_gniourf Thanks, much appreciated and the rationale makes a lot of sense.
Apr
1
comment How can I split a line in 2 by words/characters? (Bash) (Regex)
@gniourf_gniourf thanks, that's quite useful. Could you please cite a source for item #1, since that doesn't look like a technical issue, but a stylistic one?
Apr
1
answered How to download Ubuntu without installing?
Apr
1
comment How can I split a line in 2 by words/characters? (Bash) (Regex)
gniourf_gniourf you're more than welcome to propose an alternative showing good practice and proper character counting, that would be quite helpful and constructive and would help us all learn more.
Apr
1
awarded  Good Question
Mar
31
answered How can I split a line in 2 by words/characters? (Bash) (Regex)
Mar
30
answered How can I view the contents of tar.gz file without extracting from the command-line?
Mar
26
awarded  Enlightened
Mar
26
awarded  Nice Answer
Mar
26
answered cannot exec 'anything' : no such file or directory screen
Mar
18
awarded  Necromancer
Mar
12
comment Make 755 permission as default to new file
Why do you need the files to be 755? unless they're meant to be executable, the correct permission is 644 (or maybe 664). By default in Ubuntu they will be created as 664. In order to change the permission for files created, you need to modify the umask. See askubuntu.com/questions/44542/…. However, you can't use umask to give files execution permission by default (but that's wrong to do, anyway).
Mar
12
comment How do i clean all the files and folder as well as the installations on my ubuntu 14.04 lts server?
You'd need to provide information on who your VPS provider is. Sounds like you'd be better off just redeploying your host, the equivalent of reinstalling from scratch, a process which is highly VPS-provider-dependent. Which brings me to mention that this is probably not an Ubuntu-related question, but rather one to ask your VPS provider.
Mar
10
comment no login prompt for lxc
Also, the page you linked to would have provisioned a 13.04 container (I believe), I wonder if this version has an issue with the lxc console. Try creating a 14.04 container instead and see if it works better: sudo lxc-create -n whatever -t ubuntu -- -r trusty