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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ddrillich

  1. ddrillich

    Changing the format of the uptime output

    Hello, I'm on - SunOS badap10t 5.10 Generic_150400-68 sun4v sparc sun4v and I would like to convert the output of uptime - uptime 7:31pm up 62 day(s), 2:34, 1 user, load average: 10.61, 9.61, 9.77 To - Thursday, April 2, 2020 07:32:11 PM EDT SystemUpTime=xxxxx where xxxxx is the...
  2. ddrillich

    Checking a cluster of servers

    Hi Amritjsr, Configuring dsh is unfortunately not doable in our case. Regards, Dan
  3. ddrillich

    Checking a cluster of servers

    Absolutely beautiful! Assuming the password is the same for all the servers in the cluster, is it possible to use expect and run the script without user input? Regards, Dan
  4. ddrillich

    Checking a cluster of servers

    Much appreciated!
  5. ddrillich

    Checking a cluster of servers

    Good Day, I'm looking for a way to log in to, let's say, 20 Linux servers and perform a simple command on each, such as df –kh. All the servers have the same user name/password. Is there a simple way to do that? Regards, Dan
  6. ddrillich

    Removing lines based on multiple words

    Many thanks Chris and Feherke. Regards, Dan
  7. ddrillich

    Removing lines based on multiple words

    Hi Chris, I'm speaking about - remove lines that contain BOTH words. Sorry about that... Regards, Dan
  8. ddrillich

    Removing lines based on multiple words

    Good Day, I would like to exclude lines that have the word SECTOR as well as the word DREFIELD. The following throws lines that have SECTOR but it mistakenly can remove lines with SECTOR that don't have DREFIELD - grep -v SECTOR < source.txt Regards, Dan
  9. ddrillich

    Restricted access

    Much appreciated! Regards, Dan
  10. ddrillich

    Restricted access

    Good Day, Let's say we have a certain user who owns a directory structure. I like to assign to a different user access to a certain directory within this directory structure and allow this user to read and write only. Is it possible? Regards, Dan
  11. ddrillich

    korn or bash shell

    Thank you Sam.
  12. ddrillich

    korn or bash shell

    Much appreciated Sam. Regards, Dan
  13. ddrillich

    korn or bash shell

    Good Day, I run the following commands - $ bash $ echo $SHELL /bin/ksh Does it make sense? ; - ) Regards, Dan
  14. ddrillich

    Colors in vi

    Good Day, Beautiful thing! Regards, Dan
  15. ddrillich

    Colors in vi

    Good Day, Is there a way to disable the 'cheerful' colors in vi? Regards, Dan

Part and Inventory Search

Back
Top