Click here to Skip to main content
15,913,283 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionRE: how to run C++ code on linux Pin
savitha87k17-May-09 20:11
savitha87k17-May-09 20:11 
QuestionRe: RE: how to run C++ code on linux Pin
Divyang Mithaiwala19-May-09 1:29
Divyang Mithaiwala19-May-09 1:29 
AnswerRe: RE: how to run C++ code on linux Pin
savitha87k19-May-09 17:02
savitha87k19-May-09 17:02 
GeneralRe: RE: how to run C++ code on linux Pin
Sebastian Schneider22-May-09 1:15
Sebastian Schneider22-May-09 1:15 
GeneralRe: RE: how to run C++ code on linux Pin
N a v a n e e t h1-Jun-09 0:56
N a v a n e e t h1-Jun-09 0:56 
GeneralRe: RE: how to run C++ code on linux Pin
cludwig14620-Jun-09 6:07
cludwig14620-Jun-09 6:07 
QuestionCombining Command Lines Pin
See_Sharp15-May-09 20:17
See_Sharp15-May-09 20:17 
Answerone way to do it Pin
Jimmanuel16-May-09 0:55
Jimmanuel16-May-09 0:55 
The linux command line and windows command line are not equivalent. This solution works in Bash, I'm not sure about Windows.

For ceratin commands you can pipe the results from one command to another using |, for example this searches for all directories starting with P and then passes the results to head to display the first one:
find . -name "P*" -xtype d | head -n 1

you can use bacticks `` to execute one command and use its results where the command is placed in another so to change directories we would want to put the search in this:
cd `search command goes here`  

so the full command to enter the first directory that starts with P would look like this:
cd `find . -name "P*" -xtype d | head -n 1`

Another way would be to write a shell script (or batch file) to do the searching and directory changing for you.



Questioncommands not working if the executed from forked process Pin
shekharban11-May-09 21:23
shekharban11-May-09 21:23 
Questionsegmentation error while using mpz_powm in a loop Pin
shrims4u8-May-09 3:53
shrims4u8-May-09 3:53 
QuestionPHP code for change date from gregorian to shamsi (jalali) Pin
Juni77777778-May-09 1:07
Juni77777778-May-09 1:07 
AnswerRe: PHP code for change date from gregorian to shamsi (jalali) Pin
Marc Firth27-May-09 21:52
Marc Firth27-May-09 21:52 
AnswerRe: PHP code for change date from gregorian to shamsi (jalali) Pin
Marc Firth27-May-09 21:56
Marc Firth27-May-09 21:56 
AnswerRe: PHP code for change date from gregorian to shamsi (jalali) Pin
Mohammad Dayyan5-Jun-09 21:56
Mohammad Dayyan5-Jun-09 21:56 
QuestionRe: PHP code for change date from gregorian to shamsi (jalali) Pin
Elham M30-Mar-11 22:23
Elham M30-Mar-11 22:23 
QuestionHow to open in local existing site created by joomla? Pin
foryou6-May-09 2:07
foryou6-May-09 2:07 
AnswerRe: How to open in local existing site created by joomla? Pin
Marc Firth6-May-09 23:04
Marc Firth6-May-09 23:04 
QuestionRe: How to open in local existing site created by joomla? Pin
foryou7-May-09 0:00
foryou7-May-09 0:00 
AnswerRe: How to open in local existing site created by joomla? Pin
Marc Firth7-May-09 0:31
Marc Firth7-May-09 0:31 
AnswerRe: How to open in local existing site created by joomla? Pin
Marc Firth7-May-09 0:32
Marc Firth7-May-09 0:32 
GeneralRe: How to open in local existing site created by joomla? Pin
foryou7-May-09 0:52
foryou7-May-09 0:52 
QuestionSQL queries Templates and perpfocessor Pin
mrassel5-May-09 9:19
mrassel5-May-09 9:19 
AnswerRe: SQL queries Templates and perpfocessor Pin
fly9045-May-09 9:55
fly9045-May-09 9:55 
QuestioneXaro Pin
rastaVnuce4-May-09 2:08
rastaVnuce4-May-09 2:08 
Questiontyping special character in ie 7 and above Pin
jhyn3-May-09 21:52
jhyn3-May-09 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.