Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #541
Difficulty: Medium
In a statically typed language, a variable cannot be declared before it can be used.
True or False?
Linux & Unix Commands - Search Man Pages

go(1) [bsd man page]

GO(1)							      General Commands Manual							     GO(1)

go - tool for managing Go source code SYNOPSIS
go command [arguments] DESCRIPTION
The Go distribution includes a command, named go, that automates the downloading, building, installation, and testing of Go packages and commands. COMMANDS
Each command is documented in its own manpage. For example, the build command is documented in go-build(1). The commands are: build compile packages and dependencies clean remove object files doc run godoc on package sources env print Go environment information fix run go tool fix on packages fmt run gofmt on package sources get download and install packages and dependencies install compile and install packages and dependencies list list packages run compile and run Go program test test packages tool run specified go tool version print Go version vet run go tool vet on packages EXAMPLES
go-build(1), go-clean(1). AUTHOR
This manual page was written by Michael Stapelberg <>, for the Debian project (and may be used by others). 2012-05-13 GO(1)

Check Out this Related Man Page

GO-GET(1)						      General Commands Manual							 GO-GET(1)

go - tool for managing Go source code SYNOPSIS
go get [-a] [-d] [-fix] [-n] [-p n] [-u] [-v] [-x] [ packages ] DESCRIPTION
Get downloads and installs the packages named by the import paths, along with their dependencies. When checking out or updating a package, get looks for a branch or tag that matches the locally installed version of Go. The most important rule is that if the local installation is running version "go1", get searches for a branch or tag named "go1". If no such version exists it retrieves the most recent version of the package. OPTIONS
-a, -n, -v, -x, -p The -a, -n, -v, -x, and -p flags have the same meaning as in 'go build' and 'go install'. See go-build(1). -d The -d flag instructs get to stop after downloading the packages; that is, it instructs get not to install the packages. -fix The -fix flag instructs get to run the fix tool on the downloaded packages before resolving dependencies or building the code. -u The -u flag instructs get to use the network to update the named packages and their dependencies. By default, get uses the network to check out missing packages but does not use it to look for updates to existing packages. For more about specifying packages, see go-packages(7). For more about how 'go get' finds source code to download, see go-remote(7). SEE ALSO
go-build(1), go-install(1), go-clean(1). AUTHOR
This manual page was written by Michael Stapelberg <>, for the Debian project (and may be used by others). 2012-06-15 GO-GET(1)

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Programs In Linux

I am not sure how to install a program in linux. I have Java 2 on a CD the CD Mounts but then I'm lost. What do I need to do so that the programm will install on my system? Thank you, Monkette (6 Replies)
Discussion started by: kdelph
6 Replies

2. UNIX for Dummies Questions & Answers

what is the command to get my ip ?

is there any build in command that gives you the local ip ? (10 Replies)
Discussion started by: umen
10 Replies

3. What is on Your Mind?

LINUX Download

I would like to download a basic copy of LINUX to my PC as a sandbox in which I can run basic commands and functions as a learning tool. I have an older PC - Pentium III Processor at 1GHz, 128MB RAM at 133 MHz, Windows ME operating system. Is there a version of LINUX that would be compatible with... (9 Replies)
Discussion started by: ednan171
9 Replies

4. HP-UX

get whole command arguments in ps -ef?

Hello All, I want to build some monitoring of processes in HP-UX 11.x. Is there any way to get the whole set of commands and arguments instead of the first 60 characters? I read that there's a limitation of the ps -ef command that we can't overcome. In this case is there any other command... (17 Replies)
Discussion started by: usfrog
17 Replies

5. Solaris

Remove orphaned packages on Solaris ?

Is there any command that removes orphaned packages in Solaris ? Or a program similar to gtkorphan from Debian ? (7 Replies)
Discussion started by: chinezu'
7 Replies

6. Solaris

How do I compile a 64-bit program on SPARC??

Hi, wcslen(), strlen() returns size_t. On 64-bit platform i want to use int like str length is 10. int len = wcslen(str); On 64-bit what should I need to do if i wants the length in int. Because getting error as "Conversion of 64 bit type value to "int" causes truncation". if i... (17 Replies)
Discussion started by: amit_27
17 Replies

7. Programming

compile fails in linux ... "No rule to make target" ... HELP

hello all, attached you can find a tool (written in C) that i really need to make it compile under linux i am able to compile and run it successfully in mac os x, but in linux the compilation fails the only thing that i did so far is to change the following #include <sys/malloc.h> to... (13 Replies)
Discussion started by: OneDreamCloser
13 Replies

8. Shell Programming and Scripting

wget command help to download packages from mirror

Index of /distribution/openSUSE-stable/repo/oss/suse/i586 How can i download packages with wget from that mirror with a string "alsa"? Such as: alsa-1.0.23-2.12.i586.rpm alsa-devel-1.0.23-2.12.i586.rpm alsa-oss-1.0.17-29.2.i586.rpm Not manually downloading packages. But i'm trying to... (9 Replies)
Discussion started by: cola
9 Replies

9. AIX

Locate command

Hello to all, Can I use the "locate" command on AIX 5.3 like on Linux. If yes what packages should I install and where can I find them. Thanks, Enid (9 Replies)
Discussion started by: enux
9 Replies

10. Red Hat

Installing rpm packages

Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below: warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: glibc-headers is needed by... (8 Replies)
Discussion started by: messi777
8 Replies

11. UNIX for Dummies Questions & Answers

problem with packages that have .tar.gz in the extention

Hi Everybody , I want to install some packages on sun Solaris , I download the packages it was for example openssl.tar.gz it is not data stream or sun packages , so I search and I found command called make solve this problem , but the packages of this command not found on my machine, so I... (7 Replies)
Discussion started by: hard_revenge
7 Replies

12. AIX

Need to install the command less

Hello, I need to install the command less I tried to download the RPM packages but ALL the links of the packages are non-downloadable. Any help? Regards Ahmed Amer Cairo,Egypt (8 Replies)
Discussion started by: ahmedamer12
8 Replies

13. Shell Programming and Scripting

Script to run command one by one

Hi, I have run a lot of commands one after one, but I can't run them simultaneous. One command has to run and when finished second command has to run etc. Also I would like to save all the outputs created by the commands in a file. The commands can sometimes take hours, so it is also... (10 Replies)
Discussion started by: misterx12345
10 Replies

14. UNIX for Dummies Questions & Answers

Can we build a tool for Windows to retrieve data from UNIX servers (putty console)

Hi Friends, Is it possible to build a windows tool ( a java applet maybe? ) which can retrieve data and display after performing certain commands on unix servers ( simple grep / script output) after logging into putty console. I am on a company server so please bear that in mind. I might have... (23 Replies)
Discussion started by: srkmish
23 Replies

15. Shell Programming and Scripting

Format your scripts with shfmt

I've been working on a tool to format (style) shell programs, much like gofmt for Go. After much testing and personal use, I'm throwing it out there to see if it's useful to anyone else. GitHub - mvdan/sh: A shell parser and formatter in Go You'll need golang to build and install it. If this... (11 Replies)
Discussion started by: mvdan
11 Replies

Featured Tech Videos