9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can you help
i am merging 2 files together and saving to a third file with awk
and its working with this code
awk 'OFS="";NR==FNR{a=$0;next} {print a,"\n","\b",$0}' file1 file2 > file3the problem is in file3 when its saved
i get a small square at the start of every 2nd line (see picture)
... (6 Replies)
Discussion started by: bob123
6 Replies
2. Shell Programming and Scripting
Hi guys, new to this forum. I am currently trying to extract the times from pinging a domain and list the top 3 and then also do the opposite i.e. list the bottom 3.
so if I had this as a ping result (the bold part is what I want):
64 bytes from 193.120.166.90: icmp_seq=10 ttl=128 time=34.8... (5 Replies)
Discussion started by: acoding
5 Replies
3. Solaris
Hi Guys,
After setting below paths:
ok nvalias rootdisk /pci@1c,600000/scsi@2/disk@0,0:a
ok nvalias rootmirror /pci@1c,600000/scsi@2/disk@1,0:a
ok nvstore
to check:
ok devalias
devailas does show set path but after reboot
The alias for disks are not getting saved.
I get this error:-... (5 Replies)
Discussion started by: manalisharmabe
5 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
Script File Is Not Getting Saved This Are The Steps I Am Following For Saving And Executing A Script
1). vi ( To Open Vi Editor )
2). vi filename ( vi firstprog.ksh)
#!bin\kash
date
3) !wq :( Saving And Quit) When I Am Saving The Scrpit I Am Getting The Below... (1 Reply)
Discussion started by: anudeepkumar123
1 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
Bit of a Unix amateur here! :b:
As part of some research I'm doing I am looking into performance differences between IPv4 and IPv6, and have a list of IPv6 accessible websites and their respective v4 and v6 addresses.
I'm looking to do a ping to each one and record, for each... (2 Replies)
Discussion started by: churchill
2 Replies
6. UNIX for Dummies Questions & Answers
step 1
# alias
alias cp='cp -i'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
step 2
# cat ~/.bashrc
# .bashrc (3 Replies)
Discussion started by: cqlouis
3 Replies
7. UNIX and Linux Applications
I have just tried out Bluefish as an alternative to my regular text editor. If I save the modified preferences and reboot, the preferences have to be reentered again. Does anyone know which file the preferences are saved in?
The command
find / -mmin -5 | grep bluefish
yields zero hits.
Thanks... (2 Replies)
Discussion started by: figaro
2 Replies
8. Shell Programming and Scripting
Guys i'm trying to save STDERR to a variable for a portion of my ksh script on solaris.
I know i can create redirects to files as such:
exec 4>/tmp/lava
print "This will be saved to /tmp/lava and not screen"; >&4
print "This will be seen on screen" >&2
I want to save the STDOUT of a... (4 Replies)
Discussion started by: lavascript
4 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I have edited my sudoers file. I am using visudo command
I have added the following lines and saved the file.
I am saving the lines as :wq
But I am very amazed to see that these lines are not written in the sudoers file. I have retried the above process many times, when I... (0 Replies)
Discussion started by: Asteroid
0 Replies