File: randompipe.sh

package info (click to toggle)
wipe 0.24-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 468 kB
  • sloc: ansic: 1,925; makefile: 93; perl: 85; sh: 27
file content (26 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

case `uname -s` in
SunOS)
	(ps -Al &
	 ls -alR /proc &
	 w &
	 date &) 2>&1
	;;
AIX)
	(ps -Al &
	 ls -alR /tmp &
	 w &
	 date &) 2>&1;
	;;
Linux)
	(ls -alR /proc &
         w &
         ps -Al &
         date &) 2>&1
	;;
*)
	(ls -alR /tmp &
	 w &
	 date &) 2>&1
esac