Search Results

Search: Posts Made By: push
16,322
Posted By push
chmod -R 777 folder name this gives write...
chmod -R 777 folder name
this gives write permissions to all folders under folder name.
-R is for recurssive
13,034
Posted By push
any problem in using +=
any problem in using +=
2,484
Posted By push
chk ur sqlplus check whether its istalled...
chk ur sqlplus

check whether its istalled or not

you can use command
4
3,919
Posted By push
You can use expect script for that matter ...
You can use expect script for that matter
expect script + ssh is better option rather then pre auth.
12,932
Posted By push
ssize_t mq_receive(mqd_t mqdes, char *buf, size_t...
ssize_t mq_receive(mqd_t mqdes, char *buf, size_t len, unsigned *prio)
takes the oldest message with the highest priority from mqdes into buf. prio, if not NULL, is filled with the priority of the...
5,232
Posted By push
Simple way will be to use expect script,it can be...
Simple way will be to use expect script,it can be run from cron and it can simply scp logs to your machine
14,264
Posted By push
sorry didnt see the replies
sorry didnt see the replies
14,264
Posted By push
Simple Mistake :-) You can use && if u use like...
Simple Mistake :-)
You can use && if u use like


in your code
14,264
Posted By push
Simple Mistake :-) You can use && if u use like...
Simple Mistake :-)
You can use && if u use like


in your code
Forum: Linux 04-18-2008
1
1,904
Posted By push
You can refer this link,just chill ,more u are...
You can refer this link,just chill ,more u are relaxed chances are more of cracking the interview
Linux vs Windows (a comparison) (http://www.michaelhorowitz.com/Linux.vs.Windows.html)
10,896
Posted By push
There is difference when you run your script from...
There is difference when you run your script from cron and from terminal,cron does not get env variables ,so either you can set it at thje start of cron like

or you can use full path


And...
3,398
Posted By push
The easy way will be to take status of whole...
The easy way will be to take status of whole process
8,852
Posted By push
Use $* and pass all the parameters to b
Use $* and pass all the parameters to b
2,307
Posted By push
cat <filename> | sed 's/ /\n/g'
cat <filename> | sed 's/ /\n/g'
40,515
Posted By push
This is what i had in my notes ( i must have...
This is what i had in my notes ( i must have picked it up from some website :-))

Just like linux loopback device solaris has lofi - loopback file driver. The lofi file driver exports a file as a...
4,710
Posted By push
sed -ie "s/bogus/$newnodename/"...
sed -ie "s/bogus/$newnodename/" netmap.cfg
4,710
Posted By push
use sed -ie
use sed -ie
4,130
Posted By push
while read line ; do if condition ...
while read line ; do
if condition
fi

done < read_from_file
24,205
Posted By push
use zip command zip <filename>.zip A_to_Z.txt...
use zip command
zip <filename>.zip A_to_Z.txt Z_to_A.txt 1_to_20.txt 20_to_1.txt
2,375
Posted By push
Modifying your program rather then one liner:-) ...
Modifying your program rather then one liner:-)

#!/bin/bash
declare -i counter=1
for file in $(ls -t t*); do
if [ $counter -gt 3 ];then
mv $file $file.del
fi
counter=`expr $counter + 1`...
23,149
Posted By push
Upgrade Sed! your code works fine on lateset sed...
Upgrade Sed! your code works fine on lateset sed (4.1.5)
25,387
Posted By push
Array are available in sh
The equivalent sh code is

declare -a my_array
//take user input
// store in variable/filre
//if variable then
my_array=( "variable")
//if file then
my_array=(`cat file`)

//itarate array...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy