Reputation
895
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
6 17
Newest
 Curious
Impact
~16k people reached

  • 0 posts edited
  • 1 helpful flag
  • 63 votes cast
Apr
28
awarded  Curious
Apr
27
revised /etc/mtab is bad when mounting a cifs share
added 60 characters in body
Apr
27
comment /etc/mtab is bad when mounting a cifs share
Someone added a lot of option for that share., how? mtab in generated by the system on the fly, not sure If it should be manually edited but my guess is NO.
Apr
27
comment /etc/mtab is bad when mounting a cifs share
Thanks for comment. the black in the folder name appears in option unc=\\xxx\xxx. I definitely didn't specify such an option, no idea why it's there. In the 1st field of line 14 of mtab, the blank is replaced by \040.
Apr
27
revised /etc/mtab is bad when mounting a cifs share
added 132 characters in body
Apr
27
asked /etc/mtab is bad when mounting a cifs share
Apr
26
answered Sed replace not functioning as expected
Apr
21
answered Why does the command not exit smoothly?
Apr
20
comment How to automatically mount a NAS in Ubuntu
by the time you find it laggy, I suggest you umount it then use "Connect to Server" again to check if it's laggy still, just to see if it's a network problem or something wrong with your method.
Apr
15
comment Sed with inplace editing changes group ownership of file
@cuonglm I just did a strace on sed -i, found the following line in the trace, does it mean it created the temp file in current dir? open("./sedKyG9Ei", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
Apr
15
answered Sed with inplace editing changes group ownership of file
Apr
15
comment Create a file of fixed size with specific contents
@garethTheRed you are right. It seems that in most cases it's better to use urandom instead of random .
Apr
15
revised Create a file of fixed size with specific contents
added 1 character in body
Apr
15
comment Create a file of fixed size with specific contents
@PunitNaik you may try fold -b10, also see fold --help for options. fold -c10 works for me, i'm using SUSE. which OS are you using?
Apr
15
answered Create a file of fixed size with specific contents
Apr
14
comment Script to clean log files does not delete them
The script should work, unless you don't have write permission on these files.
Apr
5
comment Linux Gzip increasing size
you really shouldn't compress a file that small.
Mar
29
answered Is there any way to find a process (or at least the existence of a process) by working directory?
Feb
11
comment GNU screen locked, how to unlock?
I tried to detach it but it didn't work. does screen really allow you to detach once locked?
Feb
11
asked GNU screen locked, how to unlock?