Hi... Iam new members at this forum. and I have a little problem with "command ping"
what the "command to ping at limited time", for example
at linux
$ping -c5 10.0.0.62 and the responed as below:
64 bytes from 10.0.0.62: icmp_seq=1 ttl=128 time=0.843 ms
64 bytes from 10.0.0.62: icmp_seq=2... (3 Replies)
Currently I have written a shell script that will add departments for one group (displayed below with configuration file). I want to enhance the script in order to add departments to multiple groups by:
1. Making changes to allow the script to loop through and write each dept/group combo into... (0 Replies)
While enhancing security of my temporary folder in the post described in Secure temporary folders on existing Unix or Linux systems | SysAdmin.MD my redirection fails. This commands always fails
echo "/mnt/tmp /tmp ext3 loop,noexec,nosuid,rw 0 0" >> /etc/fstab
Can anybody please tell my why? (1 Reply)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Sed command to replace a line in a file using line number from the output of a pipe.
Is it possible to replace a whole line piped from someother command into a file at paritcular line...
here is some basic execution flow..
the line number is 412
lineNo=412
Now i have a line... (1 Reply)
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)