Reputation
28,236
Next tag badge:
92/100 score
57/20 answers
Badges
6 40 79
Newest
 Enlightened
Impact
~1.5m people reached

Jun
23
comment nested if statement, multiple conditions for if statement
Please give a complete example that includes how the variables are set. The details will depend on the values these variables can take and how you are populating them. How would you test whether it's a MacBook or desktop? What is a "server entry"? An entry in what? Do you have a list of server names? IPs? Please edit your question and give us more details on how you're setting up your variables and how you're testing which Mac or server it is.
Jun
14
comment View contents of multiple folders in one folder
@Antagonym you could always use hardlinks instead of symlinks. That way, renaming the file will not break the link.
Jun
14
comment Picture SOrting by filename
What do the file names look like? How would you like them organized? By year? By month? By day? By time? Please edit your question and add example file names and example folders to put them in.
Jun
9
comment usermod returns “group 'thegroupname' does not exist” for known group
Huh? You mean the issue was thta you were running sudo useradd testgroup instead of groupadd? If so, lol, and nah, not worth posting an answer, just delete it. It's unlikely to help anyone else.
Jun
8
comment usermod returns “group 'thegroupname' does not exist” for known group
Hmm. Strange. Could you fix the typo you where groupadd prints a useradd error message (2nd code line in your edit)?
Jun
7
comment usermod returns “group 'thegroupname' does not exist” for known group
I suppose that creating a new group and adding your user to it does work as expected right? It's only thisgroupname that fails?
Jun
7
comment Write a script that outputs filename and linenumber that contains certain text
Can the \todo{} span multiple lines? If not, it is trivial to remove them automatically.
Jun
3
comment troubleshoot sshing to my own computer
Hmm. No, that shouldn't make much difference. Purging it might, I guess. You could try removing all configuration files and reinstalling. You could also try ssh -vvv to get even more verbose output, just in case. I stress that I'm no expert though, so take it with a grain of salt. If you don't get an answer here after a while, you could try flagging the question and asking the mods to migrate it to Unix & Linux where you'll find more hardcore *nix geeks. Ping me in a couple of days and I can offer a bounty as well (either here or on Unix & Linux), I'm also curious.
Jun
3
comment troubleshoot sshing to my own computer
OK, that does look like your password is wrong. Have you spoken to your IT department? Perhaps you are connecting to a gateway server and you don't have an account there. Or, your server has disabled password connections and needs a private key. I am not an expert on ssh but I doubt this is something we can debug from here. You really should talk to your IT people.
Jun
3
comment troubleshoot sshing to my own computer
Please try again with ssh -vv user@lab.dept.uni.ece and add the output to your question. Also, please edit and clarify if you're trying to ssh from the same machine, from another on the same network or from outside the network. Finally, are you sure that the user actually exists on the system? Are you using some kind of LDAP? Finally, also clarify whether you're prompted for a password or if you're using private keys.
May
9
comment How do I correctly return context from a gnuwin32 grep (grep in windows cmd)?
Maybe 'cause Windows, unlike most *nixes, is case insensitive. I thought that was only a file system thing but apparently it isn't.
May
9
comment Script for finding out disk number
What operating system are you using? I'm guessing Windows but I;m not sure. If it is Windows, which version?
May
9
comment How to install Ubuntu 14.04.1 64-bit on Virtual Box on Asus with Pentium(R) Dual-Core CPU T4500
There is no reason to assume that the 64bit will be faster. You probably just need to install virtual box guest additions and get your graphics card recognized. Either way, this is more about configuring the VirtualBox software which is running on your windows host, so I will migrate it to Super User instead.
May
8
comment How can I automatically convert all source code files in a folder (recursively) to a single PDF with syntax highlighting?
@qubodup I don't really know. LaTeX and UTF8 can be tricky. It should work with \usepackage[utf8]{inputenc} \usepackage[german]{babel}` but it fails on my tests. However, I suspect I'm not feeding it true utf8. That might be worth its own question but I suggest you ask on TeX - LaTeX, they should know.
May
7
comment Can a putty terminal window be made viewable in a web browser?
@0xC0000022L well shucks, thanks!
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!