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...
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
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
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.