12-24-2012
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i am trying to consolodate the files in the unix with the '>>' i have some 50 or 60 files.is there any another way of consolidating the alll 50 or 60 files in to one file. actually the way i m doing creaating the problem while loading the file with teradat tpump and fasload.
so if there is... (3 Replies)
Discussion started by: narang.mohit
3 Replies
2. Shell Programming and Scripting
Hi Guys,
Thank you all for helping me with my different queries and I continue to get better at scripting because of help from all of you!
I have a file that would look something like -
ID SUB ID VALUE
1 10 5
2 18 7
1 ... (1 Reply)
Discussion started by: sncoupons
1 Replies
3. Shell Programming and Scripting
Hi all
I have two files (first_file.txt) and ( second_file.txt). The first file consists of sentences line by line given as :
Established in 1905 , Las Vegas officially became a city in 1911 .
With the growth that followed , at the close of the century Las Vegas was the most populous... (10 Replies)
Discussion started by: my_Perl
10 Replies
4. Shell Programming and Scripting
Hi, I'm newbie in Bash scripting.
Here is scenario I've a file which containslist of 100 mailgroup and in a directory i have 100 files with each group's respective mail addresses.
I'd like to make one CSV file with this information as follows.
consolidated files with
mailid,groupname.
... (7 Replies)
Discussion started by: manish123456
7 Replies
5. Shell Programming and Scripting
This post is start for me ... I stumped at something that I not sure as to how start on ... I tried so of your script that i honestly lost mind looking and looking here ... please help
COL1 COl2 COL3
12222 AUH FLUEH
12222 SSC OPERA
12222 SSC ... (8 Replies)
Discussion started by: Sebastian.Thoma
8 Replies
6. Shell Programming and Scripting
Consolidate several lines of a CSV file with firewall rules
Hi guys.
I have a CSV file, which I created using an HTML export from a Check Point firewall policy.
Each rule is represented as several lines, in some cases. That occurs when a rule has several address sources, destinations or... (4 Replies)
Discussion started by: starriol
4 Replies
7. Shell Programming and Scripting
please help, I would like to merge 4 files, all of them same format.
The first col is the key for all files,followed by variable number of fields so I want to check if the key is present in the files according to priority and then also add a column saying it came from which file .
So the... (4 Replies)
Discussion started by: ritakadm
4 Replies
mcd(1) General Commands Manual mcd(1)
NAME
mcd - mtools utility to change or report the DOS working directory
SYNOPSIS
mcd [msdosdirectory]
DESCRIPTION
Without arguments, the mcd command reports the current device and working directory. Otherwise, the mcd command changes the current device
and current working directory relative to a DOS file system. Unlike the DOS command CD, the mcd command can be used to change to another
device.
The environment variable MCWD can be used to locate the file where the device and current working directory information is stored. The
default is $HOME/.mcwd. The file is created if it does not exist and a msdosdirectory is specified.
DOS pathnames that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names
in quotes to protect them from the shell.
The mcd command supports the use of to move back one directory in the tree, however, multiple relative moves such as are not supported and
do not affect your current position in the directory tree.
NOTES
At logout time, it is advisable to remove old files.
EXIT STATUS
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of mcd: If set, this variable names the file that contains the name of the current
mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.
FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default
mtools working directory is A:. Executable file
SEE ALSO
Commands: mdir(1), mtools(1)
mcd(1)