Search Results

Search: Posts Made By: animesharma
Forum: War Stories 04-21-2012
11,172
Posted By Neo
I have also been in a number of jobs (many years...
I have also been in a number of jobs (many years ago) where I was criticized for doing a better job than my colleagues. I think it is pretty standard, unfortunately, for "the tallest peg to be...
Forum: War Stories 04-22-2012
11,172
Posted By zxmaus
What Neo said is very true and I have had that...
What Neo said is very true and I have had that issue in several jobs. But there is always hope for us.

When I joined my current company 8 years ago, 'the team' did not logically exist. There were...
3,085
Posted By Franklin52
!c++ means if c==0 (the 1st match, before the...
!c++ means if c==0 (the 1st match, before the increment of the variable c) so this may work on your system:
awk -v var="123" '/^.sub/ && c++==0{print var ".sub"}1' file > newfile
1,298
Posted By yazu
Try: 1. Remove the space in the first line: ...
Try:
1. Remove the space in the first line:
#!/bin/csh -f
2. Change double quotes in set cmd to backticks:
set cmd = `/home/user/project/runtest/testdir/ts a 1 b 2 c 3`
1,819
Posted By pflynn
Use the tee(1) program as suggested by yazu and...
Use the tee(1) program as suggested by yazu and put everything inside curly brackets if you have many commands:


{

echo hello
echo how are you?
echo i am fine

} | tee -a logfile.log

...
Forum: Ubuntu 07-31-2011
11,229
Posted By yazu
But why? :confused: you can try the usual...
But why? :confused:
you can try the usual actions:
tar -xf tcsh-6.17.00.tar
cd tcsh-6.17.00
./configure
make
sudo make install
But tcsh is an old package and maybe you will need some twiks. ...
Forum: Ubuntu 08-01-2011
11,229
Posted By yazu
Ubuntu 10.04.3 would be the best choice. But...
Ubuntu 10.04.3 would be the best choice. But Natty is good too but only with the latest updates.
IMO, of course. And I don't know much about Fedora 15.
1,819
Posted By yazu
echo hello | tee -a logfile
echo hello | tee -a logfile
4,469
Posted By itkamaraj
test --> inputfile > test.var --->...
test --> inputfile

> test.var ---> redirecting the output to another file ( test.var )

&& --> executes once the previous command is success
Bash Reference Manual...
4,469
Posted By itkamaraj
seach for "source or dot operator" Its not...
seach for "source or dot operator"

Its not typing mistake.

and read about the && and || operator
4,469
Posted By itkamaraj
What is mean by dot operator not available ? ...
What is mean by dot operator not available ?
Did u go through the source command ?
Did u read the links which i provided ?
2,103
Posted By itkamaraj
$ x=0;while read line; do x=$(echo "$x" + 1 |...
$ x=0;while read line; do x=$(echo "$x" + 1 | bc); echo "$line > file$x"; done < inputfile
scr1 a1 > file1
scr2 a2 b2 > file2
scr3 a3 b3 c3 > file3
3,757
Posted By radoulov
From man csh: -f The shell does not load...
From man csh:

-f The shell does not load any resource or startup files, or perform any command hashing, and thus starts faster
Showing results 1 to 13 of 13

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