Search Results

Search: Posts Made By: pandeesh
1,788
Posted By pandeesh
Awesome, Worked like a charm. Thanks a lot.
Awesome, Worked like a charm. Thanks a lot.
1,788
Posted By pandeesh
&& and || operators
Hello all,

i am curious how we can implement the ternary operator with multiple commands in else part. in my case, only the first command in the "else" part is reachable and the rest is ignored....
7,735
Posted By pandeesh
To restate vbe's suggestion : Try ...
To restate vbe's suggestion :

Try

source ~/.bash_profile
Or
source ~/.bashrc

Depends on the file you have
1,964
Posted By pandeesh
I would like to receive the mail only after the...
I would like to receive the mail only after the command executed in the remote host ends.so, if I use nohup then I will receive the mail immediately
1,964
Posted By pandeesh
Hi, Actually, there is neither screen nor...
Hi,

Actually, there is neither screen nor mail/mailx present in the remote host. Hence I started screen from local desktop.

---------- Post updated at 09:04 PM ---------- Previous update was...
7,735
Posted By pandeesh
Ok. Please override ps1 with the default value...
Ok. Please override ps1 with the default value you need again.
1,964
Posted By pandeesh
Help with detaching the screen programmatically
Hi,

I am using screen utility for protecting from ssh disconnects.
My process flow i ssomething like :

a) I start screen from my desktop terminl.

b)In the screen session, i ssh to one host...
3,416
Posted By pandeesh
Trying without "-i" won't save the changes in the...
Trying without "-i" won't save the changes in the /tmp/tmp.* file, which is required in my case. i am exploring -s option in ed as ctsgnb suggested.

Thanks

---------- Post updated at 06:24 PM...
3,416
Posted By pandeesh
Issues in sed command
I use SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


We have a user-defined command called "submit" which will open a vi terminal in which we need to enter the description at...
11,704
Posted By pandeesh
Unable to start vncserver
Hi,

While trying to connect vncserver, i am gettting below errors:

sh: /home/$USER/.vnc/$HOSTNAME:2.log: Permission denied
sh: /home/$USER/.vnc/$HOSTNAME:2.pid: Permission denied

New...
5,788
Posted By pandeesh
Cat/tac displays nothing but vi does
Hi,
Today i have seen a file which shows nothing when i use cat/tac.
But when i use vi it displays a single line at the top.
There are no other lines. I am curious why cat/tac doesn't display that...
1,255
Posted By pandeesh
Hi, Could you please explain/show some related...
Hi, Could you please explain/show some related examples?

Thanks
1,255
Posted By pandeesh
Executing a script with nohup
Hi,

Is there any way to achieve that my script should always execute like:
nohup ./scriptname >nohup.out &
even if i execute ./scriptname , it should be converted to nohup ./scriptname...
Forum: Web Development 04-05-2013
1,813
Posted By pandeesh
Using LWP without hard coding password
Hi,
I would like to read content from a https site.
I have decided to use LWP module in perl. but it throwed 401 Authorization required error.
i dont want to hard code the password in my perl...
16,049
Posted By pandeesh
i am trying to do the changes in zshrc
i am trying to do the changes in zshrc
16,049
Posted By pandeesh
Restarting a putty session
Hi,

Is there any way to refresh the session(for the profile file changes get reflect) in putty?

I am tired of closing reopening putty.

Thanks,
Pandeeesh


CTRL + Q to Enable/Disable...
Forum: Programming 03-25-2013
5,732
Posted By pandeesh
But what i am wondering is , if the browser...
But what i am wondering is , if the browser instance is already opened, then this code works as expected.

Thanks,
Pandeeswaran
Forum: Programming 03-25-2013
5,732
Posted By pandeesh
Thanks for your response. i have tried the...
Thanks for your response.
i have tried the solution which you suggested. But that results in 4 browser windows and doesn't address the problem i mentioned.
SOo, all here needed is, opening a...
1,172
Posted By pandeesh
Thanks balajesuri! glob fulfilled my requirement
Thanks balajesuri! glob fulfilled my requirement
1,172
Posted By pandeesh
Moving multiple filetype in a single loop
Hi,
I am using the below code to move *.sh files to another directory.

use File::Copy qw(move);

while(<C:/Users/pandeesh/Desktop/*.sh>)
{

move $_,"C:/Users/pandeesh/Desktop/Projects";

}...
Forum: Programming 03-24-2013
5,732
Posted By pandeesh
Web browser module in python
Hi,

I am trying to multiple urls in multiple tabs within a browser window.
I am using webbrowser module in python:
My code:

import webbrowser

li =...
19,142
Posted By pandeesh
It's working. But what makes the difference and...
It's working. But what makes the difference and how it works?

Thanks,
19,142
Posted By pandeesh
Nohup not returns to the prompt
Hi i have a script and i ma running that via nohup and &.
I am expecting that to return to the user prompt immediately.
But it's not returning and returns only after i press ctrl+c.
i am invoking...
1,946
Posted By pandeesh
Malformed session key while using Facebook API
Hi,

I am doing some experiments with facebook API and unable to update the status using the API.
My code is as follow as:

use WWW::Facebook::API;
use JSON::Any;

my $query=new CGI;
my $j =...
1,075
Posted By pandeesh
Reading from keyboard and sorting
Hi,

I ahve come across one of the trickier scenario and wanted to check anyone came across this:
i have a file called file1:

pandi.desktop% cat file1
aa
cc
ds
wwe
bb
pandi.desktop%

I...
Showing results 1 to 25 of 324

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