Search Results

Search: Posts Made By: ajitabhpandey
Forum: Linux 01-29-2010
10,201
Posted By ajitabhpandey
Yes the daemons are running. Actually, I got it...
Yes the daemons are running. Actually, I got it working. It seems to be an issue with fedora 12. Its working without any special efforts in OpenSuSe 11.2
Forum: Linux 12-11-2009
13,876
Posted By ajitabhpandey
If your shell is bash then you can set-up the...
If your shell is bash then you can set-up the environment variable HISTTIMEFORMAT with the preferred date format (see below):

export HISTTIMEFORMAT="%h/%d - %H:%M:%S "

This will enable the date...
Forum: Linux 12-11-2009
10,201
Posted By ajitabhpandey
gvfs-mount not working from command line (Fedora 11 x86-64)
When I access a samba share from command line using gvfs-mount, I can not see anything in ~/.gvfs/ directory. See below:
ajitabhp:$ gvfs-mount smb://iomega-dstore/music/
ajitabhp:$ echo $?
0...
19,379
Posted By ajitabhpandey
You don't need to use touch in C code. touch is a...
You don't need to use touch in C code. touch is a command. Just read the man page in order to find out the correct syntax. If you do want to use the touch utility from within the C code you need to...
8,283
Posted By ajitabhpandey
And after you install the source code as...
And after you install the source code as suggested by Franklin52, you need an editor (like vi or emacs) to read the source code.
4,670
Posted By ajitabhpandey
I suggested two variables in my previous reply....
I suggested two variables in my previous reply. Please verify what is the value for these two variables in your case. Also if you reply further, please post the host definition for the concerned host...
4,670
Posted By ajitabhpandey
Are you able to see the DOWN status on the web...
Are you able to see the DOWN status on the web interface when the host goes down? There can many places where you need to look, depending on your configuration, but just quickly check the host...
3,462
Posted By ajitabhpandey
The back ticks (also known as grave-accent) you...
The back ticks (also known as grave-accent) you are using means that the contents are to be executed and their result placed in its place, so the lines:
begin_date=`2008_08_09_11_12_14...
3,462
Posted By ajitabhpandey
How are you calling the date.sh script from the...
How are you calling the date.sh script from the other scripts? Can you please post that. I tried the following and it worked:

The following is the date.sh script. Please note that there is no...
17,924
Posted By ajitabhpandey
If you are the owner of the file and lack write...
If you are the owner of the file and lack write permissions, you can force the saving of file in vi as:

:w!

or to write and quite with forced saving of file:

:wq!
1,485
Posted By ajitabhpandey
There is no binary/text transfer modes in SFTP...
There is no binary/text transfer modes in SFTP unlike FTP. All file transfers happen in binary mode only. Try unzipping the file on the source itself to verify if the file is compressed ok. Sometimes...
3,462
Posted By ajitabhpandey
You need to export the variable if you want it to...
You need to export the variable if you want it to be available to the child shells. Change your date.sh script as


#!/bin/bash
begin_date =`date +%Y_%m_%d_%H_%M_%S`
export begin_date
14,156
Posted By ajitabhpandey
There is no standard default precedence. Every...
There is no standard default precedence. Every Unix based OS have their own PATH preferences. Typically /bin will have higher precedence than the /usr/bin which in turn will have a higher precedence...
4,294
Posted By ajitabhpandey
You are not clear what you want. The plain ascii...
You are not clear what you want. The plain ascii text files you are talking about are all email messages. If you look at the headers of emails ascii files, you will see that it usually have fqdn...
21,189
Posted By ajitabhpandey
Segmentation Fault (also known as SIGSEGV and is...
Segmentation Fault (also known as SIGSEGV and is usually signal 11) - You can get this message when the program tries to write/read outside the memory allocated for it or when writing memory which...
Showing results 1 to 15 of 15

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