Reputation
3,892
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
6 25
Newest
 Nice Answer
Impact
~402k people reached

Nov
10
answered Get list of required libraries when installing something from source
Nov
10
comment What's the right way to install an appropriate package containing <signal.h> on a Linux Mint VM?
As Mint is still a Debian derivative, I also like to search for missing files using debian.org/distrib/packages
Nov
10
revised How can I set up multiseat/separate X sessions with gnome 3?
Included essential parts as suggested
Nov
10
answered How can I set up multiseat/separate X sessions with gnome 3?
Nov
7
comment What is a regular file?
So it does mean something in particular. Actually it's a very important aspect of the object to be removed ...
Nov
6
comment How to mount a flash image in Linux?
When you know what you are doing you needn't use losetup but can use mount like this: mount -o loop,offset=1024,sizelimit=65536 test.img /mnt/flash
Nov
6
comment How to mount a flash image in Linux?
Do that then. After that check out the man page of losetup. You need the offset and sizelimit. Use sfdisk -d (need factor 512) to find out the offset and sizelimit.
Nov
6
comment How to mount a flash image in Linux?
I gladly repeat myself: you can only mount partitions. Therefore your copy of the entire disk, i.e. /dev/sdb, is not likely to yield anything mountable. Especially if you "know" there are partitions on the flash disk it is "certain", that you can neither mount /dev/sdb, nor a copy thereof, not even if the copy is a file. As I said: If there are partitions, you can only mount the partitions, not the entire disk. This of course holds true for any complete copy. You're not failing at mounting the file, yet. You're failing at creating a file that can be mounted.
Nov
6
answered How to mount a flash image in Linux?
Oct
29
comment Is there a distribution-independent tool to autocompile+install dependencies?
The problem is, that there is not always just one package to provide a certain file or library. How should a build system know which piece of software to install? Thats a desicion that does not follow simple dependency tracking. Thats why it has to be distribution specific.
Oct
29
comment Is there a distribution-independent tool to autocompile+install dependencies?
Such tools always have to be distribution specific or will not work as well as they should.
Oct
29
comment How to safely replace one Linux distribution with another one via SSH?
I'm fairly certain, that systemd can/will work with initrds, and therefore with some form of chroot. Check out pivot_root and then try something along the lines of cd /newroot; pivot_root . oldroot; exec bin/init --system >dev/console 2>dev/console <dev/console ;. It would seem systemd makes it difficult to "safely replace" Linuxes ...
Oct
28
comment How to safely replace one Linux distribution with another one via SSH?
Oh thou brave new world ... You could try configuring SSH to use its own logging instead of syslog or you could use a more sensible Linux distro or you go right ahead with what i wrote in the second last paragraph. Oh and I think systemd is not started as /sbin/init, so you need to adopt the chroot statement to load systemd correctly.
Oct
21
comment Vi editor behaving randomly while editing
sounds like an encoding problem to me. what's your local encoding, what does putty use for an encoding and what is the actual encoding on the remote machine?
Oct
18
comment Obtaining XWindows GUI menu item/widget names from the command line
I think you are looking for xwininfo. However, it will only show you windows. X only knows windows, not widgets. Some toolkit widgets have corresponting X windows, some don't. For toolkit specific information, you need tools for the individual toolkits.
Oct
13
comment Use case of providing file-like API to terminal/console
I think it's not meant to be an API to the console, it's the other way round: a console's acess to ... the kernel, I suppose. But in *nix everything is a file so if you have the necessary permissions you can access it from any process.
Oct
12
comment Inner logic of chained redirections
+1 for teaching me tee can write to multiple files at once. For at least the bash part, file1 and file2 are created if they don't exist yet.
Oct
8
comment No route to host using ssh
well, there's your answer. somethings redirecting you, probably some firewall.
Sep
16
comment How to concatenate two files on the fly and reference result as new file?
+1 for Maxim 37
Sep
16
comment How to concatenate two files on the fly and reference result as new file?
@JosephR.: I don't know about vi, but vim sure can. You need autocommand and trigger a function on newbuf.