Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: kingskar
Forum: IP Networking 09-01-2006
4,394
Posted By kingskar
SAN basics
Hi
I like to learn and practice SAN, iSCSI. Could you sugges the appropriate tutorial and small tasks to practice SAN.
Thankyou
1,967
Posted By kingskar
sorry I couldn't understand how this script...
sorry
I couldn't understand how this script helps to trace processes.
9,436
Posted By kingskar
Post your question in detail.
Post your question in detail.
14,163
Posted By kingskar
Try this To list the directries ls -d */
Try this
To list the directries

ls -d */
7,338
Posted By kingskar
Try this touch -d <date> <file_name> ...
Try this

touch -d <date> <file_name>

touch -d "Aug 15" xyz.doc
9,436
Posted By kingskar
Super users root file system tree can't be...
Super users root file system tree can't be visible to non super users. For the visibility of the mounted file system tree to the non super users ,it has to be mounted to their own file system tree.
2,053
Posted By kingskar
Try the following. If apache runs , processes...
Try the following. If apache runs , processes done by apache are displayed

ps ax | grep apache

or

ps ax | grep apache2

Mostly apache is installed in /usr/sbin folder only so you can see...
29,434
Posted By kingskar
lwp-download - fetch large files from the net ...
lwp-download - fetch large files from the net

lwp-download [-a] <url> [<local file>]

The lwp-download program will down load the document specified by the URL given as the first command line...
22,562
Posted By kingskar
If u like to give y as user input read x ...
If u like to give y as user input

read x
if [ x == "y"] ; then

#write your code

else

echo "Input is wrong"

fi

you like to add the value y in the script itself

x="y"

if [ x...
3,782
Posted By kingskar
Try this chmod +x <scrip_tname> ...
Try this

chmod +x <scrip_tname>
./<script_name>

OR

Try this

/bin/sh <script_name>
2,217
Posted By kingskar
you may not have write permission on the crontab...
you may not have write permission on the crontab file. Check the permission then try to edit crontab.

mostly crontab will reside in /etc folder.
2,413
Posted By kingskar
Try this link ...
Try this link

http://www.computerhope.com/unix/ucrontab.htm
2,173
Posted By kingskar
1) To find what are the files opened by a...
1) To find what are the files opened by a particular process

lsof | grep <PID>


2) To find what are the processes useing a particular file

fuser -mv <file_path>
2,173
Posted By kingskar
pwdx <PID> is not working in debian...
pwdx <PID>

is not working in debian linux
Forum: What is on Your Mind? 08-17-2006
2,707
Posted By kingskar
Hi looking for free linux with lot of...
Hi


looking for free linux with lot of packages for power usage you can try for
Debian linux

Cheers
kingskar
Forum: Programming 08-17-2006
18,147
Posted By kingskar
Yes your code is exactly fits for my...
Yes
your code is exactly fits for my requirement.
Thankyou
Cheers
kingskar
Forum: Programming 08-16-2006
6,404
Posted By kingskar
char heap[ 134 ]; char *firstFree = heap; ...
char heap[ 134 ];
char *firstFree = heap;

This is your first two lines of code
heap - is a character array
firstFree - is a character pointer which can hold an address of a variable

heap -...
1,591
Posted By kingskar
file <filename> fails
Hi Friends

I tried to find the file type of a file on my linux machine by using the following command

file xy.txt

instead of getting the file type i got following message

file: couldnot...
Forum: Programming 08-14-2006
18,147
Posted By kingskar
Thankyou apoorva
Thankyou for your valuable suggestion

Cheers
Shekar
Forum: Programming 08-14-2006
18,147
Posted By kingskar
can we send arguments to system() call
Hi friends

my C code is

int main()
{
system("cp <source> <destination>");
}

my question is
how to set variables for <source> and <destination>
how can we pass it to system() call.
...
Forum: Programming 08-14-2006
3,344
Posted By kingskar
can we send arguments to system() call
Pls ignore, it is not fit for this thread

Hi friends

my C code is

int main()
{
system("cp <source> <destination>");
}

my question is
how to set variables for <source> and...
Showing results 1 to 21 of 21

 

Featured Tech Videos

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