702 reputation
211
bio website
location
age 43
visits member for 1 year, 8 months
seen 13 hours ago

I am a curious person who always likes to learn more. I like solving puzzles and I like working with computers. Which means I enjoy some of the more complex questions on this site, as well as the answers which go into details and explain all facets.


Aug
8
comment How do I make a shell script in Ubuntu Terminal?
The exit vim, press the escape key to leave insert mode. Then type :wq (colon to enter command mode, w to write, q to quit). I noticed I left the : out of the answer. I will fix that. (Alternatively, any editor should do, I just used vim since it is my default editor. Vi(m) is very powerful, but it also has a steep learning curve.
Aug
8
revised How do I make a shell script in Ubuntu Terminal?
added 73 characters in body
Aug
8
revised How do I make a shell script in Ubuntu Terminal?
added 254 characters in body
Aug
8
revised How do I make a shell script in Ubuntu Terminal?
added 254 characters in body
Aug
8
revised How do I make a shell script in Ubuntu Terminal?
added 254 characters in body
Aug
8
answered How do I make a shell script in Ubuntu Terminal?
Aug
8
comment Command to restore files from an unknown file format?
Ah, understood. No idea how to reverse this usage of dd though. -- For future reference: The usual way to do these kinds of backups is with tar. (tar cf backup.tar /home/xyz/parentdirectory). And tar xf backup.tar to extract it.
Aug
7
comment Command to restore files from an unknown file format?
"I zipped using the dd command" does not make any sense. Zipping (jn the sense, making a single [compressed] archive from multiple source files) requires an archiver program. Dd is a reblocker, not an archiver.
Aug
6
comment Exclude from * in command line
It is, which is why I did not post it as an answer. Merely as a less complex way of doing things (three very simple commands vs one somewhat more complex ones). I hate complexity in combination with rm.
Aug
6
comment How to add DNS suffix in Ubuntu 12.04?
Right now I got no Ubuntu install to test this with, but the normal way to do this is by adding a new line with search mydomain.tld in /etc/resolv.conf
Aug
6
comment Exclude from * in command line
If you want to keep only one or two files then the simplest and easiest way would be to move those files to another location, wipe all remaining files and move the ones you kept back. If you want to keep a lot more files I would use find with the --delete option (no need to execute rm for each file. That is needless overhead).
Aug
5
comment I have 4 GB ram.. what should be the perfect swap partition size?
4 gigabit RAM (or 0.5 GB RAM) is rather low. Did you mean byte (capital B) rather than b (bit) ?
Aug
4
comment Can't understand which one is unallocated space in ubuntu installation?
Duplicate of http://superuser.com/questions/627738/cant-understand-which-partition-is-unallo‌​cated-space-during-an-ubuntu-installat by eddard.stark.
Aug
3
comment How to download Ubuntu-Restricted-Extras after downloading it manually .tar.gz
Did you read the README file? Does it tell you how to invoke the installation?
Jul
21
answered TCP/IP server client
Jul
21
revised TCP/IP server client
Fixed capitalistion issues. Removed the thanks.
Jul
21
suggested suggested edit on TCP/IP server client
Jul
13
comment Required space for dual boot
Yes. Windows 7 will happily live on 30GB (OS plus normal apps). Ubuntu should easily fit in the remaining 98GB.
Jul
2
comment shutdown 0 always remains in single-user mode
I should check the Ubuntu defaults, but normally shutdown means 'shutdown to single use mode`. If you want to reboot, halt or power off you will need to specify that. (e.g. shutdown -r now).
May
18
comment How to repair deleted modules?
Which kernel are you running? (Use uname -a to check). Then cd into that kernels folder. Ofc. this assumes a logic naming scheme so you know which kernel to change to. Also, if you only have the headers then you lack the source. In that case you can download the full kernel ( ftp to ftp.kernel.org and cd to pub/linux/kernel ). Or use the package tools to deinstall and reinstall a kernel. That would no longer match 'repairing modules' or 'reinstalling modules', but it would solve your problems.