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. 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
3. Shell Programming and Scripting
I am looking for a script where I need to open a file and modify the data like changing the parameters.Can anyone help me?
open a file software.rsp . It already contains following data.
parameter = false
threads=100
user= demf
The above should be changed to
paramter=true
thread= 133... (3 Replies)
Discussion started by: sriki32
3 Replies
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
Our system produce logs when a script is run which may not be daily, the logs have a format: name_YYMMDD.log - both name and .log are consistent, date changes as per the day the script is run.
Is there a way of finding the last saved log? (20 Replies)
Discussion started by: gugs
20 Replies
8. Shell Programming and Scripting
hi
please help me
i have scripts saved in compress format in sever
Cherrs
naveen.g (1 Reply)
Discussion started by: naveeng.81
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
Something funny is happening over here: when a regular user edits his cron-file (crontab -e) saves and exits vi the correct new cron-file gets installed and saved to disk. But if root does the same, vi saves it but if I then check the cron-file it has the previous contents! I did strace (==... (1 Reply)
Discussion started by: flok
1 Replies