10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Guys,
I am regular Solaris user. I came across a weird problem that puzzled me. Hope you guys can help. I found that process's state(command & arguments) in two different variants of ps command is different. Can anyone explain how is this possible?
bash-3.2$ ps -eLo pid,s,comm,args |... (2 Replies)
Discussion started by: brij123
2 Replies
2. HP-UX
Hello folks,
I've found an HP-UX server with a rare 'ls -l' output. Please see the attached file.
Anybody knows how can I change the output to not have this extra tabulations?
Thanks in advance! (10 Replies)
Discussion started by: carpannav
10 Replies
3. Shell Programming and Scripting
Hello;
Am trying to correct the formatting of tail output over ssh.
Using the following code:
echo "" > $FILE
for BOX in $SERVERS
do
echo "Processing on $BOX" |tee -a $FILE
echo "===============================" >> $FILE
sudo ssh $BOX 'TERMINAL="vt100" /usr/bin/sh -s' <... (2 Replies)
Discussion started by: delphys
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Anyone knows why I can't display the contents of my directory and how to fix this?
http://i50.tinypic.com/4smfth.jpg
Thanks in advance for any advise.
Deanne
Double post. Continued here. (0 Replies)
Discussion started by: Deanne
0 Replies
5. Shell Programming and Scripting
Good day. I am doing an enq -WA (AIX), to get a list of the print queues, I then compare that to the /etc/hosts file to 'match' the IP address associated with the print queues. What I want to do is to run a traceroute with up to 5 hops, and perform an output to a file with some "specific items".... (0 Replies)
Discussion started by: smurphy_it
0 Replies
6. Shell Programming and Scripting
hi all,
have a ksh script which connects to a database and runs a sql and dumps it to a '.csv' file. The problem is the result is in multiple rows with long spaces in between when it should be just a single line and this screws up the format in the '.csv' file.
script is :
#!/bin/ksh... (1 Reply)
Discussion started by: cesarNZ
1 Replies
7. IP Networking
This is the output that I get every so often when trying to do a traceroute to the web server whenever it's inaccessible:
traceroute to 64.40.98.181 (64.40.98.181), 30 hops max, 40 byte packets
1 207.97.207.194 (207.97.207.194) 2.625 ms 2.840 ms 2.968 ms
2 core1-5.iad1.rackspace.com... (6 Replies)
Discussion started by: gaspol
6 Replies
8. Shell Programming and Scripting
#!/bin/bash
INPUT=$1
if
then
INPUT=0$1
TRACKNUMBER=$INPUT
fi
TRACKNUMBER=$INPUT
echo "Track Number:" $TRACKNUMBER
if
then
echo "File Does Not Exist!: split-track"${TRACKNUMBER}".wav"
exit 0
fi
CUEFILE="$2" (6 Replies)
Discussion started by: TinCanFury
6 Replies
9. AIX
just setup a new system today - 9117 570, using HMC for console but not partitioned.
I installed this system twice. the first time it started off as 5300-00, then updated to ML03. before the update, I believe I mirrored the rootvg, and then altered the bootlist, at that point, the display was... (4 Replies)
Discussion started by: davew1099
4 Replies
10. UNIX for Dummies Questions & Answers
I understand the concept of traceroute - can anyone explain the output to me e.g. 39ms 39ms 39ms are these the times for each trip it takes? Assuming each machine is pinged 3 times.
and how does the RTT work? Is this the time it takes from one machine to another because it doesn't look like... (6 Replies)
Discussion started by: justine petrie
6 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)