Hi all,
I am trying to select some columns from a file, based on the list of values.
Would like to know how best I can achive this.
If coulmn 1 has a value of 57 then print the ist column (This works)
awk -F' ' '{if ( $1 == 57 ) {print $1}}' file.txt
Now my requirement is that I have to... (14 Replies)
Dear list
its my first post and i would like to greet everyone
What i would like to do is select records 7 and 11 from each files in a folder then run an executable inside the script for the selected parameters.
The file format is something like this
7 100 200
7 100 250
7 100 300 ... (1 Reply)
Hi!
My data file contains a two columns list. It looks like:
1 3.789
2 6.789
3 7.890
4 8.900
5 6.789
6 1.987
7 10.987
8 2.987
9 0.987
I would like to create a new list using the awk command, just selecting data from the second column but also printing the first column.
Let say I select... (3 Replies)
Hi,
(Oracle, AIX)
I have googled this and searched this forum, however I haven't had much luck with an answer and have tried several different things.
Basically I have a SQL select statement which generates a whole load of UPDATE statements, I want to run the select statement via... (13 Replies)
Hello all!! I am new here and new in scripting!
I want to write a ksh script to select the most recent file from a dir and use it in a variable.
I have a directory with files named like: YYYMMDD
A basic idea of the script I want to write is
#!/usr/bin/ksh
latest= latest_dated_file at... (2 Replies)
Hi All,
I need to develop a bash script list “list of files” and able to select if any and set as globe variable in script and use for other function.
I would like to see in menu format.
Example out put
Below are the listed files for database clone
1. Sys.txt
2. abc.txt
3. Ddd.txt... (1 Reply)
Hi,
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
/
grant execute on... (4 Replies)
Hi Folks,
I have the below feed file named abc1.txt in which you can see there is a title and below is the respective values in the rows and it is completely pipe delimited file ,.
... (3 Replies)
Hello
I have a large file1 which has many events like "2014010420" and following lines under each event that start with text . It has this form:
2014010420 num --- --- num ....
NTE num num --- num...
EFA num num --- num ...
LASW num num --- num... (9 Replies)
Hi
How can I extract sequences from a fasta file with respect a certain criteria? The beginning of my file (containing in total more than 1000 sequences) looks like this:
>H8V34IS02I59VP
SDACNDLTIALLQIAREVRVCNPTFSFRWHPQVKDEVMRECFDCIRQGLG
YPSMRNDPILIANCMNWHGHPLEEARQWVHQACMSPCPSTKHGFQPFRMA... (6 Replies)
Discussion started by: Marion MPI
6 Replies
LEARN ABOUT MOJAVE
createhomedir
createhomedir(1) BSD General Commands Manual createhomedir(1)NAME
createhomedir -- create and populate home directories on the local computer.
SYNOPSIS
createhomedir [-scbalh] [-n directoryDomainName] [-u username]
DESCRIPTION
createhomedir provides several options for creating and populating home directories.
OPTIONS -s creates home directories for server home paths only (default).
-c creates home directories for local home paths only.
-b creates home directories for both server and local home paths.
-a creates home directories for users defined in all directory domains of the server's search path.
-l creates home directories for users defined in the local directory domain.
-L causes the created home directory to be localized.
-n directoryDomainName
creates home directories for users defined in a specific directory domain in the server's search path.
-u username
creates a home directory for a specific user defined in the domain(s) identified in the -a, -l, or -n parameter. If you omit the -a,
-l, and -n parameters when you use the -u parameter, -a is assumed.
-i reads username list from standard input and creates specified home directories. Each username should be on its own line.
-h usage help.
FILES
/usr/sbin/createhomedir location of tool
CAVEATS
When using the -a option, search limits of various directory servers (such as Open Directory or Active Directory) can prevent all possible
home directories from being created. In this case, you may need to specify the usernames explicitly.
Mac OS X May 31, 2019 Mac OS X