Search Results

Search: Posts Made By: mduduzi
Forum: IP Networking 09-02-2011
3,046
Posted By mduduzi
dhcp setup
hi

i have been given task to setup a small network with dhcp on linux. i have tried few tricks but i get an error massage stating that dhcpd failed to start. More troubles followers
...
769
Posted By mduduzi
help please
#!/bin/bash

mysql -hlocalhost -uroot -p << EOF

CREATE DATABASE PROJECTS;

SHOW DATABASES;

USE PROJECTS;

CREATE TABLE PROJECT1 (
empNO INTEGER UNSIGNED, projectID INTEGER UNSIGNED,...
1,294
Posted By mduduzi
thanks but i`m still getting the same error.
thanks but i`m still getting the same error.
1,294
Posted By mduduzi
Script issues
#!/bin/bash

glist=`cat /etc/group | cut -d ":" -f1,4`
ulist=`cat /etc/passwd | cut -d ":" -f1,6`

for i in $glist
do
echo "$glist"

done

for i in $ulist
do
echo "$ulist"

done
...
20,409
Posted By mduduzi
thank u guys it came right
thank u guys it came right
20,409
Posted By mduduzi
thanks man i`m just having small issues to sort...
thanks man i`m just having small issues to sort out but its all good.
20,409
Posted By mduduzi
thank u "crimso" i managed to creat my database....
thank u "crimso" i managed to creat my database. Now when i try to create the tables i get the following error "ERROR 1136 (21S01) at line 7: Column count doesn't match value count at row 1" and the...
2,265
Posted By mduduzi
thanks to that but now when i check on mysql i...
thanks to that but now when i check on mysql i cant find the database

---------- Post updated at 11:05 AM ---------- Previous update was at 08:39 AM ----------

when i put the sign # in the...
2,265
Posted By mduduzi
mysql script in a command shell
Hi

i`m trying this script to run and i get the following error.
Enter your name
tman
Enter your surname
smith
-bash: ./500: line 20: unexpected EOF while looking for matching `"'
-bash:...
20,409
Posted By mduduzi
mysql script in a command shell
Hi
can anyone help with my issue here. I new in linux and new in scripting. i was ask to do the following below and i`m getting errors. I managed to create the table and the database. Now i need to...
Showing results 1 to 10 of 10

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