138 reputation
7
bio website
location Sweden
age
visits member for 2 years, 7 months
seen Oct 10 at 13:26

Sep
24
comment How do I compress a directory?
Awesome theme! What's the name of it?
Jan
21
comment How to use “grep” command to find text including subdirectories
What do the last parameters to the chmod command do? Are they specific for chmod or are they bash related (the !#:3 part)?
Dec
1
awarded  Popular Question
Mar
13
awarded  Popular Question
May
12
comment Shortcut to terminal/bash script without 'instant close'
@SirCharlo of course! I've edited the original post.
May
12
revised Shortcut to terminal/bash script without 'instant close'
added 101 characters in body
May
11
awarded  Commentator
May
11
comment Shortcut to terminal/bash script without 'instant close'
@SirCharlo That's the thing. It works perfectly fine even with our without 'bash' in front, if I do it through the terminal. But if I do it through the unity menu, it instantly closes. Perhaps there is some output but there is no way I can read that in time.
May
8
comment Shortcut to terminal/bash script without 'instant close'
closed* not crashed
May
8
comment Shortcut to terminal/bash script without 'instant close'
Nope, but it still crashed instantly after I added that :( Don't know what you mean by 'shebang' though.
May
8
comment Shortcut to terminal/bash script without 'instant close'
@SirCharlo -rwxrwxr-x 1 chora chora 76 May 7 21:15 /usr/local/crontona/run.sh
May
8
comment Shortcut to terminal/bash script without 'instant close'
Hmm... weird. When I have 'sudo' in front, it asks for my password when I start the shortcut, but then instantly closes? Makes no sense...
May
8
comment Shortcut to terminal/bash script without 'instant close'
Hmm... "There was an error creating the child process for this terminal. Failed to execute child process /usr/local/crontona/run.sh (Permission denied)". Seems like a permission problem... Then, how do I execute 'with' permission through a desktop shortcut?
May
8
asked Shortcut to terminal/bash script without 'instant close'
May
6
awarded  Scholar
May
6
accepted Changed owner of /usr/bin
May
6
awarded  Supporter
May
5
comment Changed owner of /usr/bin
Okay, I mounted my hard drive, and cd'ed into /mnt/bin. I tried to execute chmod 755 /bin\, but whenever I had that backslash, it asked me to specify a directory, which didn't make any sense. So I used without the backslash (chmod 755 ../bin) and I still haven't got a functional sudo (same error). Did I do something wrong or is it a dead-end?
May
5
comment Changed owner of /usr/bin
Writing from my phone. How do I cd into my hard drive/mount it?
May
5
comment Changed owner of /usr/bin
Just so I don't make any mistakes. Should I boot from the usb, cd to /bin (on my installed harddrive) and execute chmod 755 /bin\? And am I super user automatically or do I need to execute sudo su or something similiar?