Reputation
27,395
Next tag badge:
88/100 score
57/20 answers
Badges
6 34 78
Impact
~1.3m people reached

Apr
22
comment Add a window padding to guake
@SepehrLajevardi umm... OK?
Apr
21
comment Launching programs with GUI without display manager
You can run them with no display manager, but you do need a running X session. What distribution are you using? Do you have an X server installed? Can you run xinit or startx?
Apr
18
comment Why might a partition show up in `mount` but not `df`?
Is it shown if you just run df? I'm wondering whether the grep is doing something strange, perhaps it is aliased to something. Can you see sdb2 in the full output of df?
Apr
16
comment My laptop has no internet
Try connecting to google.com and 62.1.38.158. Do they both fail?
Apr
12
comment sudo alternative to allow certain user to execute chmod from a program
@Paul that deserves to be an answer. Especially one explaining how the access to the suid copy can be restricted. Clever idea!
Apr
10
comment Interpreting PHP offline?
@ArtisiticPhoenix I never said you couldn't. I just said you could on Linux which is the OS I use. I'm sure other OSs can also do it but I don't know the syntax or anything about it so I didn't mention them.
Apr
6
comment how to copy a file over ftp ubuntu linux
@Brian d'oh! Of course it should, thanks for pointing it out. Answer edited.
Apr
6
comment Creating ext4 partition from console
@dustin that means that you are using a GPT partitioning scheme that only allows three primary partitions. You will need to convert on of the existing ones to a logical (extended) partition and create the others within that. That's a bit too complicated to answer in a comment, I'm sure it's been asked before but, if not, post a new question.
Apr
4
comment The place to store user data in Linux
@karel well, that's the advice I was given as a new user and it has served me very well. In fact, I have been able to avoid losing data precisely because of this, since I had everything on a separate partition. That way, if you botch your partitions, you might be lucky and not botch the one you have your data on. If you have everything on one partition, then you're screwed. It is far safer to have separate partitions, I'm not saying you're wrong as such (I would have downvoted if I did) I just don't see any benefit in doing it this way and quite a few drawbacks.
Apr
4
comment The place to store user data in Linux
But, that's the whole reason why /home exists! There's no reason not to have /home on its own partition. If you don't want a different OS to use it, use a different partition for that OS's /home. I have been using the same /home with no issues on at least 4 different distributions and various versions of each distro. If you don't want that, just use a different username or set a different /home, but do keep /home on its own partition, it makes reinstalling much simpler.
Apr
3
comment sudo: effective uid is not 0, is sudo installed setuid root? for normal users
Oh, please also clarify that you're using putty. I doubt that will make a difference but the more information we have, the likelier someone can find an answer. OK, the . is indicative of a SELinux issue. Is this a machine you administrate? If so, please edit and explain your SELinux setup.
Apr
2
comment sudo: effective uid is not 0, is sudo installed setuid root? for normal users
Was that ls -Fl which sudo or do you actually have a file called /usr/bin/sudo*? Also, is that really a . in the last position of the permissions string (-rwsr-xr-x.)? Finally, please edit your question and add the output of type -a sudo | awk '{print $NF}' | xargs ls -lF. Just to be on the safe side.
Mar
29
comment Is there a way to set symbolic links to only executable files in Linux?
@HagenvonEitzen yes, that's why I clarify that this will only search for files that have the executable bit set at the end of my answer.
Mar
29
comment Is there a way to set symbolic links to only executable files in Linux?
@tony_pt you're very welcome. If this answer solved your issue, please take a moment and accept it by clicking on the check mark to the left. That will mark the question as answered and is the way thanks are expressed on the Stack Exchange sites.
Mar
29
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid all of the perl commands I've given you work as expected (I guess) on that input.
Mar
29
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid split the file in two and post the two halves separately. Also try this one, though it assumes that the number of characters in the file is a multiple of 8: tr -d '\n' < file | perl -lpe 's/(.{8})/pack"B*",$1/eg'.
Mar
29
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid does this one work better? tr -d '\n' < file | perl -lpe '$_=pack"B*",$_' ? I'm afraid I don't understand the internals of binary to ASCII conversion well enough to know what to expect here. If you edit your question and add a specific example and the output you would like to see, I can try and get it for you.
Mar
29
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
Is that the format of your file? You have 6 digits per line and not 8? Should this example be giving valid ASCII characters?
Mar
29
comment How to dump raw binary 'bits' from a file?
On what operating system? It looks like you're running some kind of *nix but which one? Is it Linux? UNIX? OSX? Something else?
Mar
27
comment How do I signify repetition in a ZMV regex?
@BenSaufley the expert I called on responded. Please feel free to accept his answer since he does provide the way to do it using the tools you wanted.