571 reputation
25
bio website
location Vancouver, Canada
age
visits member for 3 years, 9 months
seen Mar 4 at 23:53

First used UNIX 6th edition in 1975 at the University of Waterloo and first used Linux 0.99pl12 in 1993. I remember getting X with twm runnning using a socket emulator package that used UNIX pipes to simulate network sockets.


Mar
2
comment Opensuse 11.4 very slow on 8 GB RAM i5 processor
I repeat, run top again. When it is running, press capital M one time. The list of processes will be resorted so that the highest % MEM will be at the top. By the way, if your processes are using all of the RAM, then there is nothing left for filesystem caches so your system will get bogged down waiting for IO, namely disk reads.
Feb
1
comment What's the quickest way to add text to a file from the command line?
Esepcially good because it doesn't force neophytes to memorize that >> means append, because if they had to type that in over and over, soon the day would come when they typed > instead. Oops!
Feb
1
comment Should I use http or ftp links in apt sources.list
Always use HTTP. We need to discourage the use of FTP so that it can be made obsolete sooner.
Feb
1
comment Copying large tree from one machine to another, maintaining ownership
This is the right solution, but you should do it backwards. SSH to the machine, write a shell script that logs back to your machine and uses tar cf ... | tar xf to transfer the data, and then sudo ./shellscript. You can make the shell script owned by root and only readable by root because your login password will be in it. And delete it after the transfer.
Feb
1
comment mv file without write permission to the source file
Actually, sticky bits were used to indicate binaries that should not be cleared from memory after execution finished because they would likely be used frequently. That's how it was in 1976. Somewhere along the line kernels evolved and this was obsolete, but there was this bit hanging around with nothing to do, and the chmod command knew how to set it already.
Aug
11
comment Problem : how can I copy/paste this in vim?
Us vi oldtimers are always counting chars, words or lines because we often use things like y7l, c3w or d5d.
Mar
9
comment Is there a search utility which can binary split search a large sorted (sequential) text file?
Use the bisect module in Python to do this.
Feb
25
comment How is the linux graphics stack organised?
DRM and KMS are more about device drivers that now have to communicate over a dedicated internal network connection to a graphical rendering CPU on the graphics card. This may be part of the graphical stack, and it may not (i.e. Amazon EC2 Linux).
Feb
25
comment How is the linux graphics stack organised?
I would not agree that the kernel is at the bottom of the stack. Of course, device drivers do use kernel services in order to get privileged access to the hardware, but an X application is talking out the network so there are more layers beyond even the network card.
Feb
4
comment Best way to remove bytes from the start of a file?
C is not a scripting language so I don't recommend this. Consider that you might stick this dd command in a shell script for future use. But in future the number of bytes to skip may be different in which case you are back to square one. But with a Python, PERL or Ruby script, you simply edit the skip count, and run it, or make it more general and have the skip count as an argument. In 197s it was necessary to figure out how to do the job without resorting to compiling C code, but today we have more powerful tools standard on UNIX OSes.
Feb
4
comment How to install from a Linux live CD that does not support installing?
CD's don't use hard drive filesystems so dd is never going to work well. I have edited the answer to use tar instead of dd for copying. And that is the beauty of using Virtualbox to test this stuff beforehand.
Feb
4
comment Processing bash variable with sed
Learn a scripting language like Python, Ruby, maybe even PERL, so that you don't have to force the shell to do everything for you. You can even get Javascript (Rhino) to run on a UNIX system and almost everyone needs to know some Javascript.
Feb
4
comment What does dd stand for?
It was definitely Dataset Definition. Dataset was the IBM term for File. In JCL you needed to write a DD record to define the file that you wanted to use and give a 2 character unit number code to reference in your Open statements.
Feb
4
comment What does dd stand for?
Disk Dump is correct. Back then it was normal to use DD to backup a hard drive partition to tape. Most of the other options were related to things that people wanted to do with tapes, such as convert EBCDIC to ASCII.