07-22-2008
/bin is the traditional original location of executables. On modern systems, it is kept fairly small, mostly utilities which are absolutely essential.
/usr/bin is where most day-to-day utilities are installed. Traditionally, /usr was a separate partition, and you could not rely on it being mounted during early start-up.
/usr/local/bin is for locally installed binaries, as opposed to ones installed with the system, or (on modern Unices) via the package management system.
/usr/X11R6/bin is for graphical (X11) programs. I believe it is being phased out in favor of /usr/bin (at least on Debian/Ubuntu).
/home/mipl is probably your home directory, and if you add a bin subdirectory, any utilities you install there will be available to you without an explicit path.
/usr/kerberos is not well standardized, but seems to be a local or platform-specific directory for the Kerberos authentication system (possibly a local directory of binaries recompiled with Kerberos support)?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM.
I know how I can do this using the name server, but is this possible without a host lookup?:confused:
Thanks,
-ghoti (15 Replies)
Discussion started by: ghoti
15 Replies
2. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
3. Filesystems, Disks and Memory
I like to find out Server Drive/Storage Specifications like Drive Size?
Storage Type: Local or SAN ?
Number of Processors:
Processor Speed:
Memory:
please someone help me out how I can get from command line?
Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies
4. Solaris
I am using Solaris 10
Please tell me which path values are necessary for
PATH=
MANPATH=
LD_LIBRARY_PATH= (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
5. Shell Programming and Scripting
Hi Friends,
I am using sun Solaris .
I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id.
Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id.
Can u also tell me how to... (2 Replies)
Discussion started by: sridharnr
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Filenames come as
/DataStage/temp/ERT/infile/RU.ER.09.0106.txt in a file.
I want to cut first 2 chars of the filename like RU, then next 2 like ER and next like 09
I tried using
var=/DataStage/temp/ERT/infile/RU.ER.09.0106.txt
echo $var|cut -f 1 -d .(dot)
this gives... (2 Replies)
Discussion started by: harshada
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I am trying to figure out how to check SMTP server details on Unix enviornment?
I tried using
echo "hello" | sendmail -v abc@xyz.com
and got following error:
-bash: sendmail: command not found
-bash: echo: write error: Broken pipe
Any help will be much appreciated regarding... (2 Replies)
Discussion started by: palak08
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
How to find the cpu configuration details of Cores, Speed MHz, virtual processors for the following servers:
LINUX OS Servers:
Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux. (Cores, Speed, Processor)
Linux 2.6.18-164.el5 #1 SMP Tue Aug 18... (5 Replies)
Discussion started by: jagtheesh
5 Replies
9. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
10. Shell Programming and Scripting
Hi,
Sorry i can't find what particular forum should i post my question.
I was given a username and password for the database, but i was not given the hostname, SID and the port to were i can connect to with.
Is there a way for me to get the following details in unix, by the way i am using... (5 Replies)
Discussion started by: reignangel2003
5 Replies
shells(4) File Formats shells(4)
NAME
shells - shell database
SYNOPSIS
/etc/shells
DESCRIPTION
The shells file contains a list of the shells on the system. Applications use this file to determine whether a shell is valid. See getuser-
shell(3C). For each shell a single line should be present, consisting of the shell's path, relative to root.
A hash mark (#) indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines
which search the file. Blank lines are also ignored.
The following default shells are used by utilities: /bin/bash, /bin/csh, /bin/jsh, /bin/ksh, /bin/pfcsh, /bin/pfksh, /bin/pfsh, /bin/sh,
/bin/tcsh, /bin/zsh, /sbin/jsh, /sbin/sh, /usr/bin/bash, /usr/bin/csh, /usr/bin/jsh, /usr/bin/ksh, /usr/bin/pfcsh, /usr/bin/pfksh,
/usr/bin/pfsh, and /usr/bin/sh, /usr/bin/tcsh, /usr/bin/zsh. Note that /etc/shells overrides the default list.
Invalid shells in /etc/shells may cause unexpected behavior (such as being unable to log in by way of ftp(1)).
FILES
/etc/shells lists shells on system
SEE ALSO
vipw(1B), ftpd(1M), sendmail(1M), getusershell(3C), aliases(4)
SunOS 5.10 4 Jun 2001 shells(4)