10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
I'm learning Linux through a gameshell.
Like the title says; I need to find the amount of sub directories and files in 'documents/'. The command runs fine but its the not the right answer. Here's my command :
find docuemnts/ -type f | wc -l | awk '{print $1}'
What am i doing wrong ? (2 Replies)
Discussion started by: forzatekk
2 Replies
2. UNIX for Dummies Questions & Answers
Ok, it may sound a bit stupid but I can't find the answer.. How do one put 2 here documents in a row? for instance, i want to do something like:
diff <<eof <<eof2 # doesn't work...
> a
> b
> eof
> a
> c
> eof2
its mostly to satisfy my curiosity!!
thanks,
Anthony (4 Replies)
Discussion started by: anthalamus
4 Replies
3. AIX
can someone tell me the name of the books for aix
it is better if some one provide me links to any useful document (2 Replies)
Discussion started by: alokjyotibal
2 Replies
4. Shell Programming and Scripting
I'm trying this:$ for n in `ls` ; do xterm -e vim $n & ; done
bash: syntax error near unexpected token `;'
$I want to edit my files all at once, not one at a time. How can I do that? (2 Replies)
Discussion started by: Orange Stripes
2 Replies
5. Shell Programming and Scripting
Could do with some help on where to get started really. If anyone could help me it would be greatly appreciated.
I have been working on this for a while now and I don't really know where to start.
I am looking into creating a script that will process website hit files and output statistical... (1 Reply)
Discussion started by: amatuer_lee_3
1 Replies
6. OS X (Apple)
Unix based fix-it needed?
Platform and feature: search programs on Apple computers (Leopard or Tiger; 10.4 and above; Spotlight)
Problem: the document search feature of these programs produce hits when keyword(s) used appear anywhere in the document's content.
Change required: we need to... (1 Reply)
Discussion started by: Miles
1 Replies
7. Solaris
Here is the situation. We are a company that has been using a professional publishing system, the software is called "ProType". It runs on Solaris 2.4, however it is no longer supported and we are forced to move on to Adobe Indesign. We must convert all our documents (thousands) to InDesign format.... (4 Replies)
Discussion started by: Fred Goldman
4 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am using Solaris 8 and have several printers (HP lasers or inkjets) connected behind PCs, printing thus being controlled by LPD.
All I can print is ASCII, not very keen, no images, no boxes etc.
Is there any thread (I assure, I have been searching!) or discussion explaning how to set... (0 Replies)
Discussion started by: nulnul7
0 Replies
9. Solaris
I have installed sudo on our development server (SPARC,Solaris 9) and trying to edit /etc/sudoers file using visudo. Referred the following sites and not able to find the way.
http://www.courtesan.com/sudo/man/sudoers.html
http://www.kempston.net/solaris/sudo.html
To start with sudo, my... (3 Replies)
Discussion started by: chrs0302
3 Replies
10. UNIX for Dummies Questions & Answers
Hi I want to know how to give a file for printing using Latex formatting also where can I get the latex s/w .
Thanks in advance (1 Reply)
Discussion started by: gosavi_ganesh
1 Replies
TABS(1) BSD General Commands Manual TABS(1)
NAME
tabs -- set terminal tabs
SYNOPSIS
tabs [-n|-a|-a2|-c|-c2|-c3|-f|-p|-s|-u] [+m[n]] [-T type]
tabs [-T type] [+[n]] n1[,n2,...]
DESCRIPTION
The tabs utility displays a series of characters that first clears the hardware terminal tab settings and then initializes the tab stops at
the specified positions and optionally adjusts the margin.
The phrase "tab-stop position N" means that, from the start of a line of output, tabbing to position N shall cause the next character output
to be in the (N+1)th column on that line.
The following options are supported:
-n Specifies repetitive tab stops separated by a uniform number of columns, n, where n is a single digit decimal number. The
default usage of tabs with no arguments is equivalent to tabs -8. When -0 is used, the tab stops are cleared and no new ones
set.
-a Assembler, applicable to some mainframes. Equivalent to tabs 1,10,16,36,72 .
-a2 Assembler, applicable to some mainframes. Equivalent to tabs 1,10,16,40,72
-c COBOL, normal format. Equivalent to tabs 1,8,12,16,20,55
-c2 COBOL, compact format (columns 1 to 6 omitted). Equivalent to tabs 1,6,10,14,49
-c3 COBOL, compact format (columns 1 to 6 omitted), with more tabs than -c2. Equivalent to tabs
1,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,67
-f FORTRAN. Equivalent to tabs 1,7,11,15,19,23
-p PL/1. Equivalent to tabs 1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61
-s SNOBOL. Equivalent to tabs 1,10,55
-T type Indicates the type of terminal.
-u Assembler, applicable to some mainframes. Equivalent to tabs 1,12,20,44
EXIT STATUS
The tabs utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT
The COLUMNS and TERM environment variables affect the execution of tabs as described in environ(7).
The -T option overrides TERM. If neither TERM nor the -T option are present, tabs will fail.
SEE ALSO
expand(1), stty(1), tput(1), unexpand(1), termcap(5)
STANDARDS
The tabs utility conforms to IEEE Std 1003.1 (``POSIX.1'').
HISTORY
A tabs utility first appeared in PWB UNIX. This implementation was introduced in NetBSD 6.0.
AUTHORS
Roy Marples <roy@NetBSD.org>
BUGS
The current termcap(5) database does not define the set left soft margin 'ML' capability for any terminals.
BSD
December 9, 2008 BSD