Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dreammer
  • Order by date
  1. dreammer

    Using SED to make directories

    I'm not an expert in sed & awk but has been played around with it recently and came up with this solution. #!/bin/sh for f in *.prt do mkdir `echo $f | awk ' { loc = index($1,".") loc-- backend = substr($1, loc, 1) loc--...
  2. dreammer

    Expect and SSH help needed

    Many ways to do it. One simple way below: send "firstpassword\r" while 1 { expect { "receive login successfully text" { do yo stuff; then quit } "password incorrect text" { send "second password\r" } } } dreamer
  3. dreammer

    maximum number of ip addresses per interface

    Sorry, it's not correct.I just reliazed that I wasn't on Solaris Forum. Probaly 256 on HP-UX
  4. dreammer

    maximum number of ip addresses per interface

    It's 8192 virtual IPs for an interface. ndd -get /dev/ip ip_addrs_per_if show 255. ndd -set /dev/ip ip_addrs_per_if 8192 OK. ndd -set /dev/ip ip_addrs_per_if 8193 Failed. King Tan SCSA,SCNA,HP-UX CSA
  5. dreammer

    samba on solaris 9

    Use smbsh if you don't like smbclient's interface. But smbsh is very buggy though. It took me some times to fix some of the bugs to get it to work on sol 8, 9 & 10. From your shell prompt, run ./smbsh -W<workgroup> -U<user> It'll then promt you for your workgroup/NTdomain password, then it'll...
  6. dreammer

    Solaris 9 Security Administrator Cert

    Is there a study guide or book for Sun Security Administration?
  7. dreammer

    Xwindows Connection Problem

    Add your X server(the Windows machine here) host address into Solairs /etc/hosts and try again.
  8. dreammer

    Can I find out how many file descriptors currently used in a process ?

    Sorry I meant ls /proc/<pid>/fd | wc -l If you have lsof, you can do a lsof | wc -l too. King Tan Attachmate Corp. SCNA,SCSA,HP-UX SCA
  9. dreammer

    Can I find out how many file descriptors currently used in a process ?

    you can try pfiles <pid> | wc -l or ls /proc/<proc>/fd | wc -l to get an estimate.
  10. dreammer

    make a process in backround

    If you're using the default POSIX shell, you send the current fg job to background by pressing Ctrl-Z. If Ctrl-Z doesn't work, check stty -a to make sure it's mapped.
  11. dreammer

    problem on authentication user

    I had this problem before on Solaris. The problem was due to misconfigured dns settings. I think it's /etc/resolv.conf or /etc/hosts...or it could be /etc/nsswitch.conf. Double check them.
  12. dreammer

    How to get back the previously typed command in the screen?

    On POSIX shell, try 'set -o vi' then use Esc + K Does it work too?
  13. dreammer

    Swap creation Help

    I thought you can create file system swap(not device swap) dynamically without destroying the existing file system? I can't remember the command how to do it. May be it's swapon or something.
  14. dreammer

    SCSA Sol8 Part 1 and Part 2

    I thought there is a non disclosure agreement for taking any Solaris exams or certifications. Would this considered cheating if you provide your brain dump? Not trying to be a cerfs police here but it's nice to try your own effort.
  15. dreammer

    harder exam

    I have just taken part I and Part II of Solaris 9 within 3 weeks frame. Part I of the exam was easy..piece of cake if you're an experienced Unix user. But for part II, I'd advice you to spend more time on the preparations to make sure you really understand the materials. It's much harder than...
  16. dreammer

    Hi, Can anyone tell me how can I

    dsfgdfgdddgdfgdfg dfgdfgdfgdf dfgdfgd gdgfdgf fddfgdfgd fgdgfd gdgfdgfdgd dfg df gd fg dgd gd

Part and Inventory Search

Back
Top