10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In the below awk I am trying to mkdir based of an exact match between file2 line starting with R_2019.... and file1 line starting with R_2019. When a match is found there is a folder located at /home/cmccabe/run with the same name as the match where each $2 in file1 is a new subdirectory in that... (2 Replies)
Discussion started by: cmccabe
2 Replies
2. Shell Programming and Scripting
I am trying to parse two csv files and make a match in one column then print the entire file to a new file and append an additional column that gives description from the match to the new file. If a match is not made, I would like to add "NA" to the end of the file
Command that Ive been using... (6 Replies)
Discussion started by: dis0wned
6 Replies
3. UNIX for Advanced & Expert Users
Hello,
I've been able to keep a certain number of backup files with the find -mtime command, but is there a way to add the last 4 Sunday's or any other day?
I checked the man page and forums, but couldn't find anything.
Any help would be appreciated.
Thanks (8 Replies)
Discussion started by: Ramsez
8 Replies
4. Solaris
I have a Solaris-11 zone, which is newely build. Since I am in PST time zone, so I set it with this command. It shows me date correctly with correct time zone, but when I switch it to a non root user and run below java command, it is not showing correct time zone. Not sure, how to set it.... (2 Replies)
Discussion started by: solaris_1977
2 Replies
5. Solaris
Hi All
Please find my zone configuration after add emcpower0a device
zonecfg -z zone1 export
create -b
set zonepath=/zone/zone1
set autoboot=true
set ip-type=shared
add net
set address=192.168.1.11/24
set physical=nxge2
set defrouter=192.168.1.1
end
add device
set... (4 Replies)
Discussion started by: sb200
4 Replies
6. Shell Programming and Scripting
Hi Folks,
Is there a way to cleanup the root entries in the Linux server from the lastlog.
For AIX and SUN server, this has been done Via the fwtmp command. (1 Reply)
Discussion started by: gsiva
1 Replies
7. UNIX for Dummies Questions & Answers
Howdy Folks,
I have a list that looks like this:
(file2.txt)
AAA
BBB
CCC
DDD
and there are 24 of these short words.
I am matching these patterns to another file with 755795 lines (file1.txt).
I have this code for matching:
awk -v f2=file2.txt '
BEGIN {
while(... (2 Replies)
Discussion started by: heecha
2 Replies
8. Linux
We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies
9. HP-UX
Hi,
I was wondering if there was a way to change the disk device files ex. /dev/dsk/cxtxd0 ?
What I have are two HPUX 11.0 servers using MC Service Guard 11.13. A consultant attached a SAN and both servers had created the same identical LUN device files. Now I could begin creating my volume... (0 Replies)
Discussion started by: mvizza
0 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies