06-09-2001
The Solution IS
The same thing happened with me but we found the solution(Solaris)Solaris
See your PATH variable must be /usr/bin/ls , this is where ls command is searched for when you give ls command. Now if you want to see the 01 files also in fact all the files in your directory then add /usr/xpg4/bin/ls in your PATH variable before /usr/bin/ls path. Or if you are not using solaris then give man ls and look whether there is any alternative path where ls command is located. If yes then try using that path.
I bet this will work since it worked for me.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*.
grep -l "aaa" File*_bbb*
But I want to count the number of files. That is I want the total number of files which have "aaa" in
files File*_bbb*
If I run the following for getting number of... (1 Reply)
Discussion started by: sudheshnaiyer
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
How to remove a file accidently named (created) as "-a". I have tried rm \-a but its not working. (6 Replies)
Discussion started by: apsprabhu
6 Replies
3. Shell Programming and Scripting
Hi everyone,
I`ll try to be most clear I can explaining my help request.
I have 2 folders
Folder A-->This folder receives files through FTP constantly
Folder B-->The files from Folder A are unzipped and then processed in Folder B
Sometimes Folder A doesn`t contain all... (2 Replies)
Discussion started by: cgkmal
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hi -
I'm having a problem with hidden characters on Linux. When I produced an output from Oracle database, there is a an extra "Hidden Character" included on the output. How can I remove that character? See below:
The extra dollar sign is creating a new line on my .csv output file. I... (16 Replies)
Discussion started by: Jin_
16 Replies
6. Shell Programming and Scripting
The "read" command, which is built into bash, takes words from the standard input. However, "read" is not good at taking file names if the file names contain spaces. I would like my bash script to ask the user to enter file names, which may contain spaces. Can you think about any technique for... (14 Replies)
Discussion started by: LessNux
14 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
I have a tar arcive
arch_all.tar.gz
and 4 batched tar archive . These batches are supposed to have all the files form arch1.all.tar.gz
arch1_batch1.tar.gz
arch1_batch2.tar.gz
arch1_batch3.tar.gz
arch1_batch4.tar.gz
my issue is that the directory structure in "arch_all.tar.gz" is... (6 Replies)
Discussion started by: sumang24
6 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 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)