abhishek dilliwal


{ City } indore
< Country > india
* Profession * student
User No # 15900
Total Questions Posted # 0
Total Answers Posted # 10

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 122
Users Marked my Answers as Wrong # 71
Questions / { abhishek dilliwal }
Questions Answers Category Views Company eMail




Answers / { abhishek dilliwal }

Question { IBM, 18202 }

Give command that will make the file "run.sh"
executable?


Answer

chmod +x run.sh

Is This Answer Correct ?    9 Yes 2 No

Question { IBM, 12220 }

How does the user view the contents of a text file in UNIX?


Answer

one more..

$less FileName

Is This Answer Correct ?    4 Yes 1 No


Question { 4112 }

Why these language is needed?


Answer

PHP is a powerful server side scripting language even this
site is on PHP :) just in short
a PHP can be used to build a dynamic site
with tht its free n portable (u can run PHP on Unix n
Windows server both) there is much of it try googling

-Abhishek Dilliwal
http://abhishek.x10hosting.com

Is This Answer Correct ?    2 Yes 0 No

Question { iDream, 14215 }

What are the limitations or drawbacks of PHP ?


Answer

The major drawback (not exactly) is tht PHP is open source
and hence most of clients refuse to trust on it (though it
is very powerful) rest i dont find any such drawback in PHP
if dynamic site is considered

-Abhishek Dilliwal
http://abhishek.x10hosting.com

Is This Answer Correct ?    8 Yes 8 No

Question { 5110 }

What are the different ways to login to a remote server?
Explain the means, advantages and disadvantages?


Answer

ssh (secured shell) is a good way to log in a remote server/
computer u need a ssh client for windows system the most
common is PuTTy advantage includes u could just run all
applications as if its running on ur system and hence easy
managing and disadv is what if u leaked ur ssh key and
password

-Abhishek Dilliwal
http://abhishek.x10hosting.com

Is This Answer Correct ?    2 Yes 0 No

Question { Nokia, 180653 }

How do you create a file in UNIX


Answer

yeah above are the ways but i have 1 more,

echo "
Here u write contents of file
this is second line of file
" | cat > NewFile

Is This Answer Correct ?    57 Yes 38 No

Question { QA, 67302 }

what is the difference between Touch & cat command


Answer

cat is for concatenation of 2 or more files if used over
single file it simply displays its contents

touch is used for modifying the time stamp of a file, also
used for making empty files

try,
$touch file{1,2,3,4}
to create 4 files as: file1, file2,..

Is This Answer Correct ?    13 Yes 7 No

Question { MNC, 43057 }

how many types of file in unix?


Answer

7 types as mentioned earlier..
to see it just do this.

$file FileName

or

$file *
this will tell u the types of file in current directory

Is This Answer Correct ?    12 Yes 8 No

Question { A1 Technology, 5865 }

How to download a php script directly in your script page?


Answer


Is This Answer Correct ?    2 Yes 5 No

Question { Dest, 5029 }

What is the difference between include and include_once ?
Which is one is good in terms of performance ?


Answer

u may include a single file several times by using
include() but by using include_once() its ensured tht the
specific file would be included only once no matter how
many times u wrote it ;)

-Abhishek Dilliwal
http://abhishek.x10hosting.com

Is This Answer Correct ?    13 Yes 2 No