Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: push
14,039
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
11,420
Posted By push
any problem in using +=
any problem in using +=
2,168
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,622
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.
11,291
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...
4,936
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
13,924
Posted By push
sorry didnt see the replies
sorry didnt see the replies
13,924
Posted By push
Simple Mistake :-) You can use && if u use like...
Simple Mistake :-)
You can use && if u use like


in your code
13,924
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,752
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)
9,223
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,114
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,513
Posted By push
Use $* and pass all the parameters to b
Use $* and pass all the parameters to b
2,097
Posted By push
cat <filename> | sed 's/ /\n/g'
cat <filename> | sed 's/ /\n/g'
39,288
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,467
Posted By push
sed -ie "s/bogus/$newnodename/"...
sed -ie "s/bogus/$newnodename/" netmap.cfg
4,467
Posted By push
use sed -ie
use sed -ie
3,702
Posted By push
while read line ; do if condition ...
while read line ; do
if condition
fi

done < read_from_file
22,313
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,135
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`...
22,021
Posted By push
Upgrade Sed! your code works fine on lateset sed...
Upgrade Sed! your code works fine on lateset sed (4.1.5)
23,288
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

 

Featured Tech Videos

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