os: Operating system checks

Description Usage Author(s) Examples

Description

Determine the current operating system as well as provide flags to indicate whether the operating system is a Mac/Windows/Linux.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

Author(s)

Ben Wiseman, benjamin.wiseman@kornferry.com

Steven Nydick, steven.nydick@kornferry.com

Examples

1
2
3
4
5
6
7
8
# determine operating system
get_os()

# do we have a particular operating system
is.os_mac()
is.os_win()
is.os_lnx()
is.os_unx()

roperators documentation built on Feb. 10, 2022, 1:07 a.m.