Sponsored Content
Full Discussion: Definition of $-
Top Forums UNIX for Dummies Questions & Answers Definition of $- Post 302323654 by sszd on Monday 8th of June 2009 04:09:31 PM
Old 06-08-2009
Thank you for the reply. Sorry I haven't replied to this sooner but I've been out.

The link provided simply says to look at the man page for setting shell options for your particular shell. Well, that was the first thing I did when I was trying to figure this out. Unfortunately, the man pages for bash and ksh do not detail exactly which letter is associated with which shell option, and the letter is certainly not the first letter of the option itself. Some of them are obvious, like 'i' for interactive shell. Some I could figure out by turning off an option and looking to see what letter no longer existed when echoing $-. Unfortunately some of the options could not be determined this way. And I'm still trying to figure out what little 'c' means (in addition to some others).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printer definition file on HP

Hello, I'm looking for the definition file for printers on HP. Can I implement printers.conf like on SUN ? Thanks for your help:( (4 Replies)
Discussion started by: annececile
4 Replies

2. Programming

process image + definition

Ive seen this word being popped up whenever I read the Unix man description of the exec() family of functions. What exactly does it refer to, as I can't seem to comprehend how processes would have an image ? cheers (1 Reply)
Discussion started by: JamesGoh
1 Replies

3. UNIX for Dummies Questions & Answers

Paging space definition

sorry for this silly question, I am new to UNIX, what is meant by paging space and what is its purpose? what is also meant by hd6 paging space? (2 Replies)
Discussion started by: docaia
2 Replies

4. Shell Programming and Scripting

daemons definition

hi there, can somebody give me a definition for daemons, or example what are they !! and what the use for? i've done some research and all what i found is /etc/... or /usr/bin/... and i haven't quietly got the concept. any ideas !! Thanks. (5 Replies)
Discussion started by: new2Linux
5 Replies

5. UNIX for Dummies Questions & Answers

What is inside the definition of Unix?

Is FreeBSD and OpenBSD considered Unix? What O.S does Most of the forum members use? How popular are Licensed Unix operating systems for home users? Additionally I thought Linux was a Minux fork and BSD was a Unix fork. Thanks in ... (7 Replies)
Discussion started by: theKbStockpiler
7 Replies

6. HP-UX

macro definition in FTP

Hi, I am trying to create a macro in FTP to rename multiple files.Below given is the codewhich i tried. I wanted to pass the files from the file "$FTPTXRENAMESUCLIST`" to the renfiles macro. Your help will be really appreciated. ftp -i -v -n << endftp > $FTPTXLOG 2> $FTPER open... (0 Replies)
Discussion started by: tinivt
0 Replies

7. Fedora

Shell parameter definition

Hi Folks, I have a script called program.sh which was written by someone. I am supposed to edit it for my necessities. There is a line in the script that is as follows if ]; then echo -e "Option limit should be positive number and less than 1. Program aborts!" exit 1 ... (27 Replies)
Discussion started by: jacobs.smith
27 Replies

8. What is on Your Mind?

Definition of Bytes

A byte is the smallest unit of storage which can be accessed in a computer's memory- either in RAM or ROM.It also holds exactly 8 bits.But its old view one byte was sufficient to hold one 8 bit character.Modern days especially on .NET or international versions of Win 32, 16 bits is needed. ... (2 Replies)
Discussion started by: stoudtLion
2 Replies

9. UNIX for Advanced & Expert Users

Variable definition

Hi all, I'm bit new to the advanced bash shell scripting. When I'm looking at some of the existing code in my organization, got confused with a few variable definings. For ex: var1={1:-30} var2="abc def ghi" var3={xyz:-$var2} In above, 1st and last lines are confusing me.... (4 Replies)
Discussion started by: raghu.iv85
4 Replies

10. Programming

Get struct definition

I have many headers with huge amount of structures in them, typical one looks like this: $ cat a.h struct Rec1 { int f1; int f2; }; struct Rec2 { char r1; char r2; }; struct Rec3 { int f1; float k1; float ... (6 Replies)
Discussion started by: migurus
6 Replies
NICE(1) 							   User Commands							   NICE(1)

NAME
nice - run a program with modified scheduling priority SYNOPSIS
nice [OPTION] [COMMAND [ARG]...] DESCRIPTION
Run COMMAND with an adjusted niceness, which affects process scheduling. With no COMMAND, print the current niceness. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). Mandatory arguments to long options are mandatory for short options too. -n, --adjustment=N add integer N to the niceness (default 10) --help display this help and exit --version output version information and exit NOTE: your shell may have its own version of nice, which usually supersedes the version described here. Please refer to your shell's docu- mentation for details about the options it supports. AUTHOR
Written by David MacKenzie. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report nice translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
nice(2), renice(1) Full documentation at: <http://www.gnu.org/software/coreutils/nice> or available locally via: info '(coreutils) nice invocation' GNU coreutils 8.28 January 2018 NICE(1)
All times are GMT -4. The time now is 09:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy