Discuss IT and Design a variety of tutorials and design it. let's read that are useful to you. thank you for visiting my humble blog

Finding Commands

Some of the commands described in this book may not be installed when you go to run them. You might type a command and see a message similar to:

 bash   sillycommand
bash:  sillycommand: No such file  or directory

There are a few reasons this might happen:

❑    You mistyped the command name.
❑    The command is not in your PATH.
❑    You may need to be root user for the command to be in your PATH.
❑    The command is not installed on your computer.



Here are some commands you can run to look for a command you want to use:

 type mount                              Show  the first  mount   command  in PATH
mount   is /bin/mount

 whereis mount                         Show  binary,  source and  man pages for  mount
mount: /bin/mount /sbin/mount.nfs /sbin/mount.ntfs-3g  /sbin/mount.nfs4
/usr/share/man/man8/mount.8.gz  /usr/share/man/man2/mount.2.gz

 which   umount                        Find umount anywhere in  file system
/bin/umount

 rpm -qal |grep umount       Find umount in  any   installed  package
/usr/share/man/man2/umount.2.gz
/usr/share/man/man2/umount2.2.gz
/bin/umount
/usr/share/man/man8/umount.8.gz
/sbin/umount.nfs
/sbin/umount.nfs4
/usr/share/man/man8/umount.nfs.8.gz
/opt/kde3/share/icons/crystalsvg/scalable/devices/mo_umount.svgz
/usr/lib/YaST2/startup/First-Stage/F03-umount
/usr/share/YaST2/clients/pre_umount_finish.ycp
/usr/share/YaST2/clients/umount_finish.ycp

 rpm -q   --whatprovides tar   Find out  which package provides  the  tar command
tar-1.17-21

If the command you want is in a package that isn’t installed, you can install the package using either a shell or GUI:

❑    Installing from a shell Type yast at the command line to see a screen-oriented YaST2 Control Center. Then follow the text menus to Software Software Manage- ment Search and search for the package you want. Highlight the package and then click Accept. You can use the Tab key to navigate to the Accept button. (The zypper command, described in Chapter 2, is another tool you can use to install SUSE software packages from the command line.)


❑    Installing from a GUI — Choose Install Software from the Computer section of the SUSE green creature menu. This launches the graphical version of YaST2. You will need to enter the root password to run this application.
Share:

No comments:

Post a Comment

Popular Posts

Ismail Maha Putra. Powered by Blogger.
twitterfacebookgoogle pluslinkedinrss feedemail
SEO Reports for kendariit.blogspot.com

Followers

Blog Archive

Poll

Facebook Page Like

Translate

Get ThisWidget
Blogger Widgets

submit your site

http://smallseotools.com/google-pagerank-checker

Sonicrun

Google Search

Popular Posts

Tutorials, IT and Design

Blog Archive

Recent Posts

About Metro