Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin
ls: cannot access /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin: No such file or directory
alex@ubuntu:~$ echo $PATH
/home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
alex@ubuntu:~$ which grdinfo
alex@ubuntu:~$ grdinfo
grdinfo: command not found
alex@ubuntu:~$
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMT/GMT4.5.2/bin/
total 105872
-rwxr-xr-x 1 alex alex 807572 2010-02-24 21:11 backtracker
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 binlegs
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 blockmean
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 blockmedian
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 blockmode
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 dat2gmt
-rwxr-xr-x 1 alex alex 823964 2010-02-24 21:11 dimfilter
-rwxr-xr-x 1 alex alex 823956 2010-02-24 21:11 filter1d
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 fitcircle
-rwxr-xr-x 1 alex alex 7494 2010-02-24 21:11 GMT
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 gmt2bin
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 gmt2dat
-rwxr-xr-x 1 alex alex 803476 2010-02-24 21:11 gmt2kml
-rwxr-xr-x 1 alex alex 877244 2010-02-24 21:11 gmt2rgb
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 gmtconvert
-rwxr-xr-x 1 alex alex 778900 2010-02-24 21:11 gmtdefaults
-rwxr-xr-x 1 alex alex 791220 2010-02-24 21:11 gmtdigitize
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 gmtdp
-rwxr-xr-x 1 alex alex 255 2010-02-24 21:11 gmtget
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 gmtinfo
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 gmtlegs
-rwxr-xr-x 1 alex alex 799380 2010-02-24 21:11 gmtlist
-rwxr-xr-x 1 alex alex 3149 2010-02-24 21:11 gmtlogo
-rwxr-xr-x 1 alex alex 894196 2010-02-24 21:11 gmtmath
-rwxr-xr-x 1 alex alex 787092 2010-02-24 21:11 gmtpath
-rwxr-xr-x 1 alex alex 819860 2010-02-24 21:11 gmtselect
-rwxr-xr-x 1 alex alex 778900 2010-02-24 21:11 gmtset
-rwxr-xr-x 1 alex alex 2272 2010-02-24 21:11 gmt_shell_functions.sh
-rwxr-xr-x 1 alex alex 795284 2010-02-24 21:11 gmtstitch
-rwxr-xr-x 1 alex alex 998804 2010-02-24 21:11 gmttrack
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grd2cpt
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grd2xyz
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grdblend
-rwxr-xr-x 1 alex alex 783004 2010-02-24 21:11 grdclip
-rwxr-xr-x 1 alex alex 998812 2010-02-24 21:11 grdcontour
-rwxr-xr-x 1 alex alex 783004 2010-02-24 21:11 grdcut
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grdedit
-rwxr-xr-x 1 alex alex 803484 2010-02-24 21:11 grdfft
-rwxr-xr-x 1 alex alex 823964 2010-02-24 21:11 grdfilter
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 grdgradient
-rwxr-xr-x 1 alex alex 811676 2010-02-24 21:11 grdhisteq
-rwxr-xr-x 1 alex alex 990620 2010-02-24 21:11 grdimage
-rwxr-xr-x 1 alex alex 795388 2010-02-24 21:11 grdinfo
-rwxr-xr-x 1 alex alex 811676 2010-02-24 21:11 grdlandmask
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 grdmask
-rwxr-xr-x 1 alex alex 898332 2010-02-24 21:11 grdmath
-rwxr-xr-x 1 alex alex 783004 2010-02-24 21:11 grdpaste
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 grdproject
-rwxr-xr-x 1 alex alex 799388 2010-02-24 21:11 grdraster
-rwxr-xr-x 1 alex alex 783004 2010-02-24 21:11 grdreformat
-rwxr-xr-x 1 alex alex 811676 2010-02-24 21:11 grdrotater
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grdsample
-rwxr-xr-x 1 alex alex 819868 2010-02-24 21:11 grdspotter
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grdtrack
-rwxr-xr-x 1 alex alex 787100 2010-02-24 21:11 grdtrend
-rwxr-xr-x 1 alex alex 986524 2010-02-24 21:11 grdvector
-rwxr-xr-x 1 alex alex 1019292 2010-02-24 21:11 grdview
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 grdvolume
-rwxr-xr-x 1 alex alex 848540 2010-02-24 21:11 greenspline
-rwxr-xr-x 1 alex alex 9660 2010-02-24 21:11 gshhs
-rwxr-xr-x 1 alex alex 9668 2010-02-24 21:11 gshhs_dp
-rwxr-xr-x 1 alex alex 13828 2010-02-24 21:11 gshhstograss
-rwxr-xr-x 1 alex alex 807580 2010-02-24 21:11 hotspotter
-rwxr-xr-x 1 alex alex 6557 2010-02-24 21:11 img2google
-rwxr-xr-x 1 alex alex 4890 2010-02-24 21:11 img2grd
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 img2mercgrd
-rwxr-xr-x 1 alex alex 1186 2010-02-24 21:11 isogmt
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 kml2gmt
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 makecpt
-rwxr-xr-x 1 alex alex 869044 2010-02-24 21:11 makepattern
-rwxr-xr-x 1 alex alex 803476 2010-02-24 21:11 mapproject
-rwxr-xr-x 1 alex alex 992884 2010-02-24 21:11 mgd77convert
-rwxr-xr-x 1 alex alex 1046420 2010-02-24 21:11 mgd77info
-rwxr-xr-x 1 alex alex 1025652 2010-02-24 21:11 mgd77list
-rwxr-xr-x 1 alex alex 1001076 2010-02-24 21:11 mgd77magref
-rwxr-xr-x 1 alex alex 1029756 2010-02-24 21:11 mgd77manage
-rwxr-xr-x 1 alex alex 992884 2010-02-24 21:11 mgd77path
-rwxr-xr-x 1 alex alex 1111676 2010-02-24 21:11 mgd77sniffer
-rwxr-xr-x 1 alex alex 799380 2010-02-24 21:11 mgd77togmt
-rwxr-xr-x 1 alex alex 1204564 2010-02-24 21:11 mgd77track
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 minmax
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 nc2xy
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 nearneighbor
-rwxr-xr-x 1 alex alex 807572 2010-02-24 21:11 originator
-rwxr-xr-x 1 alex alex 799380 2010-02-24 21:11 project
-rwxr-xr-x 1 alex alex 807604 2010-02-24 21:11 ps2raster
-rwxr-xr-x 1 alex alex 982420 2010-02-24 21:11 psbasemap
-rwxr-xr-x 1 alex alex 1101 2010-02-24 21:11 psbbox.sh
-rwxr-xr-x 1 alex alex 982420 2010-02-24 21:11 psclip
-rwxr-xr-x 1 alex alex 1023380 2010-02-24 21:11 pscoast
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 pscontour
-rwxr-xr-x 1 alex alex 1031572 2010-02-24 21:11 pscoupe
-rwxr-xr-x 1 alex alex 1015188 2010-02-24 21:11 pshistogram
-rwxr-xr-x 1 alex alex 982420 2010-02-24 21:11 psimage
-rwxr-xr-x 1 alex alex 885428 2010-02-24 21:11 pslegend
-rwxr-xr-x 1 alex alex 994716 2010-02-24 21:11 psmask
-rwxr-xr-x 1 alex alex 1023380 2010-02-24 21:11 psmeca
-rwxr-xr-x 1 alex alex 778900 2010-02-24 21:11 psmegaplot
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 pspolar
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 psrose
-rwxr-xr-x 1 alex alex 998804 2010-02-24 21:11 psscale
-rwxr-xr-x 1 alex alex 990612 2010-02-24 21:11 pssegy
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 pssegyz
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 pstext
-rwxr-xr-x 1 alex alex 994708 2010-02-24 21:11 psvelo
-rwxr-xr-x 1 alex alex 990612 2010-02-24 21:11 pswiggle
-rwxr-xr-x 1 alex alex 1006996 2010-02-24 21:11 psxy
-rwxr-xr-x 1 alex alex 1006996 2010-02-24 21:11 psxyz
-rwxr-xr-x 1 alex alex 803476 2010-02-24 21:11 rotconverter
-rwxr-xr-x 1 alex alex 787092 2010-02-24 21:11 sample1d
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 segy2grd
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 spectrum1d
-rwxr-xr-x 1 alex alex 942599 2010-02-24 21:11 sphdistance
-rwxr-xr-x 1 alex alex 938432 2010-02-24 21:11 sphinterpolate
-rwxr-xr-x 1 alex alex 946720 2010-02-24 21:11 sphtriangulate
-rwxr-xr-x 1 alex alex 791188 2010-02-24 21:11 splitxyz
-rwxr-xr-x 1 alex alex 807580 2010-02-24 21:11 surface
-rwxr-xr-x 1 alex alex 819860 2010-02-24 21:11 trend1d
-rwxr-xr-x 1 alex alex 819860 2010-02-24 21:11 trend2d
-rwxr-xr-x 1 alex alex 791196 2010-02-24 21:11 triangulate
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_binlist
-rwxr-xr-x 1 alex alex 1050260 2010-02-24 21:11 x2sys_cross
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_datalist
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_get
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_init
-rwxr-xr-x 1 alex alex 1050260 2010-02-24 21:11 x2sys_list
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 x2sys_merge
-rwxr-xr-x 1 alex alex 1037972 2010-02-24 21:11 x2sys_put
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_report
-rwxr-xr-x 1 alex alex 1046164 2010-02-24 21:11 x2sys_solve
-rwxr-xr-x 1 alex alex 778892 2010-02-24 21:11 x_edit
-rwxr-xr-x 1 alex alex 5552 2010-02-24 21:11 x_init
-rwxr-xr-x 1 alex alex 13772 2010-02-24 21:11 x_list
-rwxr-xr-x 1 alex alex 803476 2010-02-24 21:11 x_over
-rwxr-xr-x 1 alex alex 9676 2010-02-24 21:11 x_remove
-rwxr-xr-x 1 alex alex 5556 2010-02-24 21:11 x_report
-rwxr-xr-x 1 alex alex 782996 2010-02-24 21:11 x_setup
-rwxr-xr-x 1 alex alex 17892 2010-02-24 21:11 x_solve_dc_drift
-rwxr-xr-x 1 alex alex 13852 2010-02-24 21:11 x_update
-rwxr-xr-x 1 alex alex 795292 2010-02-24 21:11 xyz2grd
alex@ubuntu:~$
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin
ls: cannot access /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin: No such file or directory
Ok, so where did you install it? Wherever you installed it is what needs to be set in the PATH.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.