25%
30.11.2025
check) or as RC scripts.
Listing 2
CUPS Monitoring
01 #! /bin/sh
02
03 while true
04 do
05
06 lpq -Plp | grep -q "lp is ready"
07
08 if [ $? -gt 0 ]
09 then
10 cupsenable lp
11 fi
12
25%
30.11.2025
the target host once. In order to ping continuously, as on Linux, you will need to specify the -s option.
Listing 2
Ping on Solaris
# uname -sr
SunOS 5.10
# ping server
server is alive
# ping -s
25%
30.11.2025
tcsh\r"
06 expect "#"
07 send "cp .ssh/authorized_keys ~root/.ssh\r"
08 expect "#"
09 send "cd /etc/ssh; cp sshd_config{,.0}\r"
10 expect "#"
11 send "cat sshd_config.0 | sed -e 's
25%
30.11.2025
while true
11 do
12 echo -n "Text entry: ";read text
13 echo -n "Numeric entry: ";read number
14 echo -n "Save (s) End (e) ";read we
15 if [ "$we" = "s" ];
16 then
17 echo "Insert into demo values
25%
30.11.2025
) with 12 Serial ATA disks, a 320 UW SCSI controller for the host connection, and 512MB cache.
I configured various disk groups and logical volumes on this powerful hardware and exported them to the backup
25%
30.11.2025
combinations are supported:
ShadowProtect 4.0.1: Oracle VirtualBox 3.1.0--3.2.6
ShadowProtect 4.0.5: Oracle VirtualBox 3.1.0--3.2.12
ShadowProtect 4.1: Oracle VirtualBox 3.1.0--4.0.4
Shadow
25%
30.11.2025
/openvpn/keys/CA.crt
08 cert /etc/openvpn/keys/server.crt
09 key /etc/openvpn/keys/server.key
10 tls-auth /etc/openvpn/keys/tls-auth.key
11
12 server 192.168.1.0 255.255.255.0
13
14 keepalive 10 60
15 comp-lzo
16
17
25%
30.11.2025
uses the syntax
tcpdump -n -I -s
where -n means tcpdump should not resolve IP addresses to domain names or port numbers to service names, -I is the interface to use
25%
30.11.2025
the root string (the so-called root logger) that is contained in the default messages by setting the following format:
logging.basicConfig(format='%(levelname)s:%(message)s')
But, more on that later
25%
30.11.2025
virtual webs.test.com {
15 active = 1
16 address = 192.168.1.250 eth0:0
17 vip_nmask = 255.255.255.0
18 port = 80
19 send = "GET / HTTP/1.0\r\n\r\n"
20 expect = "HTTP"
21