Reputation
1,375
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
7 16
Newest
 Excavator
Impact
~232k people reached

Jul
30
comment How do I create a new text file with a new name from a phpscript everytime it is executed
the processor information you see is content from /proc/cpuinfo. if you want other content in your log file, just change the path. if you want to determine what to write from the STDOUT from another script, you can for example replace "cat /proc/cpuinfo" with "./myscript.sh" and the output of that script will go to your log file
Jul
30
comment External monitor support for Sandy Bridge integrated graphics
did you try using the official nvidia drivers? using nvidia-xsettings, it is quite easy to see which screens the nvidia card can see
Jul
30
comment How do I create a new text file with a new name from a phpscript everytime it is executed
the file will be created in the working directory of the script. if you want another directory, just prepend it as usual. i.e. you can replace "file" ... with "/tmp/file" ... and it is always going to be saved in /tmp
Jul
30
comment How do I create a new text file with a new name from a phpscript everytime it is executed
in php it's pretty easy, you can use file_put_contents(). it's easy in bash too, i'll show you shortly
Jul
30
comment How do I create a new text file with a new name from a phpscript everytime it is executed
shell script just means that it is written in bourne or bash shell. you can add a shebang to your php script too and chmod it and you can execute it like any other executable file. you need to be more specific if you want a certain bash feature explained.
Jul
28
comment Lost control of root account, Ubuntu Server 11.10
@ThomasVersteeg: The desktop live CD will work even with your server installation. You can use KNOPPIX or SystemRescueCd too.
Jul
28
comment Lost control of root account, Ubuntu Server 11.10
howtogeek.com/howto/linux/…
Jul
28
comment python ctypes and pulseaudio segfault after upgrade to 12.04
did you try to do a backtrace? where is the segfault?
Jul
27
comment How do I reserve bandwidth?
see this answer: superuser.com/a/66575/33303
Jul
26
comment How can I increase the space of /home without losing my data?
The live CD would work too. I like Knoppix cause it was designed for CD booting.
Jul
24
comment How do I get amilo-rfkill support on a non-pae laptop? (a.k.a. where to get 3.5 kernels for oneiric)
checking build.log does not seem elegant
Jul
24
comment How do I get amilo-rfkill support on a non-pae laptop? (a.k.a. where to get 3.5 kernels for oneiric)
how do you see what drivers a specific build contains?
Jul
24
comment How do I get amilo-rfkill support on a non-pae laptop? (a.k.a. where to get 3.5 kernels for oneiric)
but i don't see any distinct generic{-pae,} packages. i think it's on purpose: lists.ubuntu.com/archives/ubuntu-devel/2011-November/…
Jul
24
comment How do I get amilo-rfkill support on a non-pae laptop? (a.k.a. where to get 3.5 kernels for oneiric)
I get an error though, when installing those highlighted packages: pastie.org/4318671
Jul
24
comment Apache 2.4 install on 12.04 ends up with non-standard configuarion
No, how would they be gone? The symlink merely makes /etc/apache2 appear as if it is ALSO at /usr/local/conf/apache2/conf. Of course, if sites-available is a relative symlink pointing outside /etc/apache2, it would probably break. But I don't think it is.
Jul
23
comment Open a new tab in gnome-terminal and have it automatically connect via ssh
why not just set "when command exits" to "exit the terminal"?
Jul
23
comment Open a new tab in gnome-terminal and have it automatically connect via ssh
&& is bourne shell, it is not a command. you could do sh -c "ssh .. && clear"
Jul
23
comment Size 1280x800 not found in available modes?
was the resolution correct the first time you installed ubuntu? if it was, the resolution should be like back then, if you reboot after making sure /etc/X11/xorg.conf does not exist.
Jul
23
comment Size 1280x800 not found in available modes?
okay, but since the resolution changed, it's a sign that the xrandr stuff is working. the examples in the linked article used 1280x1024, did you do it with that resolution or with 1280x800? to do it with 1280x800 , just copy from the ModeLine i posted (only the second line, and excluding the word "modeline"). it should be the same count of numbers. maybe your monitor manual says what its native resolution is, though?
Jul
23
comment Size 1280x800 not found in available modes?
sorry if i'm confusing you. the three commands from the linked arch wiki article would be quite easy to try though, i think it's definitely worth it.