04-20-2008
Thanks guys. They all ended up working for me. I was typing them wrong.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
In DOS, to get the complete directory structure, we use 'TREE' command..
can anyone tell me what is the equivalent command in Unix
I am using
SunOS ABC 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Fire-V240
thanks.. (1 Reply)
Discussion started by: wip_vasikaran
1 Replies
2. UNIX for Dummies Questions & Answers
Iam in the process of copying a directory with thousands of directories and files into a new directory.
I need to preserve permissions, owner, group, date and timestamps, everything.
Iam using AIX and would need help of writing the command whether it is cp-RP or cpio.
Apprecaite your... (3 Replies)
Discussion started by: baanprog
3 Replies
3. UNIX for Dummies Questions & Answers
How can i install tree command in ubundu without root ? I have found some shell script which does the same job as tree but i would like to get all the options in tree command
thanks (2 Replies)
Discussion started by: gvj
2 Replies
4. Shell Programming and Scripting
Hi All
I'm using a tree command in a script that for me outputs:-
| - - DIRECTORYNAME
However a different user is getting the following output:-
aaa (actually with an umlat above them) DIRECTORYNAME
I'm not sure where this could be coming from, any ideas anyone? (0 Replies)
Discussion started by: Bashingaway
0 Replies
5. Shell Programming and Scripting
Hi, I have this command:
ls -R | grep ":$" | sed -e 's/:$//' -e 's/*\//--/g' -e 's/^/ /' -e 's/-/|/' Works nicely to show the current file structure as a tree.
I'd like to have it as an alias in '' but doesn't work just like that and I can't fix it with backslashes:
alias tree='?'
... (4 Replies)
Discussion started by: borobudur
4 Replies
6. UNIX for Dummies Questions & Answers
I want to use tree to display the directory tree. It is easy to use
tree -d -L 2
However I would like to run it on specific list of directories. Can such a thing be performed?
Example:
/media/academic-repo/chrisd/literature
tree -d prose -L 2
prose
├── computer-technology... (1 Reply)
Discussion started by: kristinu
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted.
$ command ps -HAcl -F S -A f
F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD
4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Discussion started by: newbie_01
3 Replies
8. UNIX for Dummies Questions & Answers
Hi Forum.
I tried to search the forum for an answer but couldn't find it.
I have the following files in my directory:
PROFILE_TXN_61647.dat
PROFILE_TXN_61648.dat
PROFILE_TXN_61649.dat
PROFILE_TXN_61650.dat
PROFILE_TXN_61651.dat
PROFILE_TXN_61652.dat
PROFILE_TXN_61653.dat... (8 Replies)
Discussion started by: pchang
8 Replies
9. UNIX for Dummies Questions & Answers
Hi,
when I run tree command in linux box getting below image, not the line
test
âââ lost+found
âââ test1
â  âââ aaa.txt
â  âââ bbb.txt
âââ test2
3 directories, 2 files
installed tree-1.5.3-2.el6.x86_64 package (8 Replies)
Discussion started by: stew
8 Replies
10. Shell Programming and Scripting
How to run a script/command on all the directories in a directory tree?
The below script is just for the files in a single directory, how to run it on all the directories in a directory tree?
#!/bin/sh
for audio_files in *.mp3
do
outfile="${audio_files%.*}.aiff"
sox "$audio_files"... (2 Replies)
Discussion started by: temp-usr
2 Replies
addbib(1) User Commands addbib(1)
NAME
addbib - create or extend a bibliographic database
SYNOPSIS
addbib [-a] [-p promptfile] database
DESCRIPTION
When addbib starts up, answering y to the initial Instructions? prompt yields directions. Typing n (or <RETURN>) skips the directions.
addbib then prompts for various bibliographic fields, reads responses from the terminal, and sends output records to database. A null
response (just <RETURN>) means to leave out that field. A `-' (minus sign) means to go back to the previous field. A trailing backslash
allows a field to be continued on the next line. The repeating Continue? prompt allows the user either to resume by typing y (or <RETURN>),
to quit the current session by typing n or q, or to edit database with any system editor (see vi(1), ex(1), ed(1)).
OPTIONS
The following options are supported:
-a Suppresses prompting for an abstract. Asking for an abstract is the default. Abstracts are ended with a Control-D.
-p promptfile Uses a new prompting skeleton, defined in promptfile. This file should contain prompt strings, a <TAB>, and the key-letters
to be written to the database.
USAGE
Bibliography Key Letters
The most common key-letters and their meanings are given below. addbib insulates you from these key-letters, since it gives you prompts in
English, but if you edit the bibliography file later on, you will need to know this information.
%A Author's name
%B Book containing article referenced
%C City (place of publication)
%D Date of publication
%E Editor of book containing article referenced
%F Footnote number or label (supplied by refer)
%G Government order number
%H Header commentary, printed before reference
%I Issuer (publisher)
%J Journal containing article
%K Keywords to use in locating reference
%L Label field used by -k option of refer
%M Bell Labs Memorandum (undefined)
%N Number within volume
%O Other commentary, printed at end of reference
%P Page number(s)
%Q Corporate or Foreign Author (unreversed)
%R Report, paper, or thesis (unpublished)
%S Series title
%T Title of article or book
%V Volume number
%X Abstract -- used by roffbib, not by refer
%Y,Z Ignored by refer
EXAMPLES
Example 1: Editing the bibliography file
Except for A, each field should be given just once. Only relevant fields should be supplied.
%A Mark Twain
%T Life on the Mississippi
%I Penguin Books
%C New York
%D 1978
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdoc |
+-----------------------------+-----------------------------+
SEE ALSO
ed(1), ex(1), indxbib(1), lookbib(1), refer(1), roffbib(1), sortbib(1), vi(1), attributes(5)
SunOS 5.10 14 Sep 1992 addbib(1)