2,045 reputation
617
bio website bitsofnix.wordpress.com
location
age
visits member for 2 years, 4 months
seen Mar 26 at 15:14

Working mainly with Solaris and Linux.

System administration!


Jul
24
comment cp: cannot stat `/vol/examples/tutorial/science.txt': No such file or directory
because when you use cp /vol is not the same as cp ~/vol. change your cp command to cp ~/vol/ to work. It is not a problem, you are providing different paths
Jul
24
answered cp: cannot stat `/vol/examples/tutorial/science.txt': No such file or directory
Jul
24
comment How to see that what disks are on a QLogic FC adapter on linux?
maybe this: cyberciti.biz/faq/linux-find-fibre-channel-device-information
Jul
24
comment Can system calls be interrupted?
@Alan you should try to find a more recent book. That one covers kernel 2.2 and at the time 2.4 was coming out. It does not even mention the Completely Fair Scheduler that was introduced in an update of 2.6 and with the latest version 3 there are also big changes regarding preemptive processes under kernel space.
Jul
23
answered Pipe the output of a command if it is successful
Jul
23
comment chkconfig does not display runlevel links correctly
I believe chkconfig only checks for the link scripts that start with S to mark then on.
Jul
23
comment Ipadm:operation failed
@nuraureum that kind of behaviour is not very welcome. you ask for help and did not provide more info, probably you are even running the command as root since by default, user root in solaris 11 is a role and you need to use su or sudo to go to root.
Jul
23
comment highlighting text in shell
well, you need to know the correct escape codes and before the text you puts your coloring and after you remove. Here you have a table of the combinations: bitmote.com/public/ansi_4bit_color_table.png printf works with the escapes code that you mentioned on your question.
Jul
23
comment highlighting text in shell
stackoverflow.com/questions/5412761/using-colors-with-printf
Jul
23
answered Setting a variable whose value depends on another variable
Jul
23
revised Keeps on getting message files are identical using find
added 371 characters in body
Jul
23
answered Keeps on getting message files are identical using find
Jul
22
comment How to make dual boot live dvd
first hit on google: webupd8.org/2010/12/…
Jul
19
comment How can I install latest VLC player in cent os 6.4?
a simple visit to VLC site answers your question ... you need to add the repo or download the rpm and then install with yum localinstal "rpmfile"
Jul
19
comment Execute remote programs and completely detaching it
don't understand much, but ... have you check firewall? if that is based on Centos, I believe it might have selinux. Is it enabled? did you chek /var/log/messages for errors?
Jul
18
comment Uncover sudoer user with root privileges which ran command X?
you might if you audit enabled in the system, instead of allowing them to sudo su, you could just allow them to run commands as root, although envolves a lot of work if the amount of commands is big.
Jul
18
revised Rename directory from within directory?
added 60 characters in body
Jul
18
comment Rename directory from within directory?
you can still work, but pwd command will not show the correct path, for that you need to reenter the directory.
Jul
18
answered Rename directory from within directory?
Jul
17
comment Not possible to recover or delete file in a ext4 filesystem
backup your data ( assuming that you still can) and run a fsck on the disk.