I am writing a script to find out who is running the script itself, "ps -ef | grep scriptname"? It doesn't seem to give me what i need. I just need the username who is running it. Thanks a lot.
by dawncaller - Shell - 2008-02-04 10:32:36 阅读(1770) 回复(2)
#1) Once you remove the hard drive from the system that you cannot log onto as root, change the SCSI address jumper on the drive to something other then ID 6 -- since more then likely the system you hook the drive up to will be using SCSI ID 6 for it's boot drive. #2) Once you hook the drive up to the live system, you will want to do a ioscan -fnC disk to determine the address and device file of ...
Q.How do I verify that my ISP or my own recursive resolvers are free from DNS cache poisoning bug that is promised full disclosure of the flaw by Dan on August 7 at the Black Hat conference? How do I test my dns server for DNS cache pollution or DNS Cache Poisoning bug? A.DNS cache poisoning (also known as DNS cache pollution) is a maliciously created or unintended situation that provides dat...
Hi there, In my system, sshd was deleted from /etc/group during the system reboot, hence cause sshd service failed to start. It can be fixed by manually add sshd back to /etc/group file. I had went through all the rc script and system services but no luck to find any clue. The system is solaris 10 with patch level 125100-08. Just wonder if there is a way that I can audit which process/script/...
Could anyone give me a help? how to find out the unused network interfaces in solaris? many thanks!
Hi,All. please help me out to find the source code of ps command or tell me the source where i can get the information about the data structures/related system calls used for the implementation of the ps command. thank you all in advance for the interest you have shown in me.
i download bittorrent for linux , it need libwxgtk2.2-python , i search it on google but not find it .
Who can tell me: Where can i find out the Spider's FTP address
我在linuxAS3下装了bind9.2.2。在linux下named服务启动正常,也能解析各种地址。上网也正常。 但是我把同局域网的电脑上的 dns设成该linux的地址,用nslookup命令就会出现如下错误: dns request timed out. timeout was 2 seconds. ***can't find server name for address: xxx.xxx.xxx.xxx: Timed out ***default server are not available default server : unknown addresss: xxx.xxx.xxx.xxx 我查了网上各种解释,说反向解析...
find ./ -mtime +10 -name "db1-bin.*" find ./ -mtime +10 | xargs tar czvf `date +\%Y\%m\%d.tar.gz` 查看man find 由于f i n d具有强大的功能,所以它的选项也很多,其中大部分选项都值得我们花时间来了解一下。即使系统中含有网络文件系统( N F S ),f i n d命令在该文件系统中同样有效,只你具有相应的权限。 在运行一个非常消耗资源的f i n d命令时,很多人都倾向于把它放在后台执行,因为遍历一个大的文件系统...