Use https://golang.org/pkg/syscall/ and https://golang.org/pkg/os/ to do these.
Use https://golang.org/pkg/syscall/ and https://golang.org/pkg/os/ to do these.