01-10-2016
Wow, thanks for such an extended and prompt reply, sir. Definitely my set of questions considering this not exhausted so will return here frequently.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have been trying to understand this chapter titled "Searching for Files and Text" for a few weeks now.
unfortunately, this chapter is one of those things, that no matter how hard you try and how long you try for, you are incapable of understanding (at least in my case)
this entire chapter,... (2 Replies)
Discussion started by: xyyz
2 Replies
2. UNIX for Advanced & Expert Users
Hi all !
Yesterday I defined an environmental variable PATH, but today when I restarted machine, I could not see that it was stored any place.
Is there any file where I could save the settings ?
I have quite a few env.variables defined, so I need a smarter way to define.
regards
D (5 Replies)
Discussion started by: DGoubine
5 Replies
3. Shell Programming and Scripting
Hi all,
I have a script with those two lines :
test -f $PWD/mysetup.txt
. $PWD/mysetup.txt
I understand the first one, but could anyone explain me the role of the second one? All the thing I find is the usage :
Thx in advance (3 Replies)
Discussion started by: Moumou
3 Replies
4. Shell Programming and Scripting
Hi,
I'm using an array that contains compiler FLAGS
that need to be executed either before ./configure
or after the main 'make' command.
example of array containing compiler flags.
-------------------------------------------------
FLAGS="CFLAGS=\"-arch x86_64 -g -Os -pipe... (7 Replies)
Discussion started by: ASGR
7 Replies
5. AIX
I am writing a few korn scripts to be used by all our operators on several 4.1/4.2 AIX servers.
I want to create environmental variables that once set, can be read/modified by my scripts (ex: specific folders, file names, conventions, general values, ...). I thought this would be better then... (4 Replies)
Discussion started by: Browser_ice
4 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
1)find all lines in file ,myf that contain all the words cat dog and mouse in any order and start with the letter... (1 Reply)
Discussion started by: cudders
1 Replies
7. UNIX for Dummies Questions & Answers
I have a text file called file1 which contains the text: "ls -l"
When I enter this command:
bash < file1 > file1
file1 gets erased. However if I enter this command:
bash < file1 > newfile
the output from "ls -l" is stored in newfile. My question is why doesn't file1's text ("ls -l") get... (3 Replies)
Discussion started by: phunkypants
3 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
I have a very general question. I'm rather new to (bash) shell scripting and I don't understand how conditions work... I've read numerous tutorials but I don't get it. I really don't. Sometime what I do works, sometime it doesn't and that's frustating. So what's the actual difference... (0 Replies)
Discussion started by: hypsis
0 Replies
LEARN ABOUT SUNOS
environ
environ(4) File Formats environ(4)
NAME
environ, pref, variables - user-preference variables files for AT&T FACE
SYNOPSIS
$HOME/pref/.environ
$HOME/pref/.variables
$HOME/FILECABINET/.pref
$HOME/WASTEBASKET/.pref
DESCRIPTION
The .environ, .pref, and .variables files contain variables that indicate user preferences for a variety of operations. The .environ and
.variables files are located under the user's $HOME/pref directory. The .pref files are found under $HOME/FILECABINET, $HOME/WASTEBASKET,
and any directory where preferences were set via the organize command. Names and descriptions for each variable are presented below. Vari-
ables are listed one per line and are of the form variable=value.
.environ Variables
Variables found in .environ include:
LOGINWIN[1-4] Windows that are opened when FACE is initialized.
SORTMODE Sort mode for file folder listings. Values include the following hexadecimal digits:
1 Sorted alphabetically by name.
2 Files most recently modified first.
800 Sorted alphabetically by object type.
The values above may be listed in reverse order by ORing the following value:
1000 List objects in reverse order. For example, a value of 1002 will produce a folder listing with files LEAST
recently modified displayed first. A value of 1001 would produce a "reverse" alphabetical by name listing of the
folder.
DISPLAYMODE Display mode for file folders. Values include the following hexadecimal digits:
0 File names only.
4 File names and brief description.
8 File names, description, plus additional information.
WASTEPROMPT Prompt before emptying wastebasket (yes/no?).
WASTEDAYS Number of days before emptying wastebasket.
PRINCMD[1-3] Print command defined to print files.
UMASK Holds default permissions with which files will be created.
.pref Variables
Variables found in .pref are the following:
SORTMODE Contains the same values as the SORTMODE variable described in .environ above.
DISPMODE Contains the same values as the DISPLAYMODE variable described in .environ above.
.variable Variables
Variables found in .variables include:
EDITOR Default editor.
PS1 Shell prompt.
SunOS 5.10 3 Jul 1990 environ(4)