04-26-2010
what are some of the lines above 204? maybe lines 194-204 would help as well.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I need assistance with a bash script that needs to tell me whether in the last "x" days (which is a variable) anyone connected to the xxxx IP (which is another variable).
Thank you! (1 Reply)
Discussion started by: Melchiah
1 Replies
2. Shell Programming and Scripting
So I am new to unix, and actually anything outside drag and drop with the mouse (been learning for about a week so far) . I have been using the foreach command in tcsh because I am working on a group of files. Basically what I need is to insert part of the filename as the first line in the file.... (0 Replies)
Discussion started by: thepolypore
0 Replies
3. Shell Programming and Scripting
So what i am trying to do is write a script that takes in any number of scrambeled words and unscrambles them.
I have already addressed the issues of partial matches, exits silently if there are no matches, and finds words regardless of case that they were input. but while trying to get it so... (3 Replies)
Discussion started by: alindner
3 Replies
4. Shell Programming and Scripting
Hi, i want to rename a group of directories and files of my music, some items are like this:
- , for directories.
- , for files.
I want to do something like this:
, for directories.
, for files.
This is my code:
#!/bin/bash
for fname in *.mp3; do
echo item: $fname
mv... (2 Replies)
Discussion started by: josco1982
2 Replies
5. Shell Programming and Scripting
Hey guys,
I've registered here as I need urgent help. This is assignment for school and as you can see below I've completed the work. I'm simply stuck on one area.
:wall:
This script takes the first parameter (which is to be the new extension) and each parameter after that is a file... (1 Reply)
Discussion started by: Cynosure
1 Replies
6. Shell Programming and Scripting
Writing a bash script for use with Geektool, pulls the battery info, and shuffles images around so that an Image geeklet can display the correct expression as the desktop background. (Eventually I intend to make it more intricate, based on more variables, and add more expressions)
I'm extremely... (1 Reply)
Discussion started by: The_Ardly374
1 Replies
7. Shell Programming and Scripting
Hi,
I'm having some trouble with using "case...esac" in Bash.
I've googled it and am stuggling to understand the syntax and how to do certain things.
Firstly, I want to be able to choose a case based on a variable number
For example, I have in my code a place where a user can enter... (2 Replies)
Discussion started by: Ste_Moore01
2 Replies
8. Shell Programming and Scripting
Hi all, I am trying to run a cronjob to push my files to my git repo once a week and output a prompt to a logfile, my script works fine if I invoke it manually but my cronjob wont run for some reason, I have sourced the file, and restarted my Mac to no avail, right now I believe I have the cronjob... (8 Replies)
Discussion started by: gmenfan83
8 Replies
9. Shell Programming and Scripting
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
10. UNIX for Beginners Questions & Answers
In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ?
--- Post updated at 08:39 AM ---
in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies
LEARN ABOUT OPENDARWIN
pts_listentries
PTS_LISTENTRIES(1) AFS Command Reference PTS_LISTENTRIES(1)
NAME
pts_listentries - Displays all users or groups in the Protection Database
SYNOPSIS
pts listentries [-users] [-groups] [-cell <cell name>]
[-noauth] [-localauth] [-force] [-help]
pts liste [-u] [-g] [-c <cell name>] [-n] [-l]
[-f] [-h]
DESCRIPTION
The pts listentries command displays the name and AFS ID of all Protection Database entries of the indicated type. It also displays the AFS
ID of each entry's owner and creator.
To display all user and machine entries, either include the -users flag or omit both it and the -groups flag. To display all group
entries, include the -groups flag. To display all entries, provide both flags.
OPTIONS
-users
Displays user and machine entries.
-groups
Displays group entries.
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
OUTPUT
The output includes a line for each entry, with information in four columns that have the following headers:
Name
The entry's name.
ID The entry's AFS ID (AFS UID for a user or machine, negative AFS GID for a group).
Owner
The AFS ID of the user or group that owns the entry.
Creator
The AFS ID of the user who created the entry (the system:administrators group is listed as the creator of the entry for "anonymous" and
the system groups, but it is not otherwise possible for a group to create groups).
In general, the entries appear in the order in which they were created.
EXAMPLES
The following example displays both user and group entries.
% pts listentries -users -groups
Name ID Owner Creator
system:administrators -204 -204 -204
system:anyuser -101 -204 -204
system:authuser -102 -204 -204
anonymous 32766 -204 -204
admin 1 -204 32766
pat 100 -204 1
smith 101 -204 1
pat:friends -206 100 100
staff -207 -204 1
PRIVILEGE REQUIRED
The issuer must belong to the system:administrators group.
SEE ALSO
pts(1), pts_creategroup(1), pts_createuser(1), pts_examine(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2014-04-08 PTS_LISTENTRIES(1)