Search Results

Search: Posts Made By: femchi
4,517
Posted By Praveen_218
Your code Problems ...
Need to handle errors for values of the two variables 'player' and 'pc' for out of range values.

For eg. What if player == 0 and also pc == 0 .

Please dry run the below few lines from your own...
24,649
Posted By alister
Each argument to the executable should be a...
Each argument to the executable should be a different argument to execl. Give the execl man page a closer read.

Regards,
Alister
24,649
Posted By Corona688
It's possible to do it either way. Line-by-line...
It's possible to do it either way. Line-by-line is probably easier.

Your using scanf incorrectly every time you use it. You can't store a string in a char, since a string is a char array, and...
5,411
Posted By Yoda
I tried with following modification and able to...
I tried with following modification and able to read user input and print them:-

#!/bin/sh
clear
echo "\t `date "+%d/%m/%Y"`"
echo "\t Hostname Machine: `hostname`"
echo "\t user: `whoami` "...
4,104
Posted By in2nix4life
Here's an example using the dialog utility to...
Here's an example using the dialog utility to create a ncurses-based menu:

Menu Driven Shell Script Using Dialog Utility (http://www.bashguru.com/2011/01/menu-driven-shell-script-using-dialog.html)
2,056
Posted By ctsgnb
man find see -exec option
man find

see -exec option
Showing results 1 to 6 of 6

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