i have create a terminal session file named myscript
using : script myscript
Now i want to append on this file what i typed is
script -a myscript
but it does not, work just overwrites on the previous iformation
any help ?
cp file /home/ugrad/gtr954/backup
another user
cp file /home/ugrad/rtw567/backup
i have a command in my script that copies a file on a different user's backup folder.
any idea how to write this down?
There is an error which comes up
pro: syntax error at line 45: `end of file' unexpected
echo "\n COMMAND MENU\n"
while echo " Select option"
echo " a.read a file"
echo " b.create a file"
echo " c.add on existing file"
echo " d...
Anyone can help ?
this is the error
g: echo Name the file that you want to add information:\c: not found
c)
echo" Name the file that you want to add information:\c"
read answer
echo
cat>> $answer
;;
any idea how to make this to work . User inputs a filename and cat command reads the filename
:
# simple cat commands
echo "\n COMMAND MENU\n"
echo " a.read a file"
echo " b. exit"
echo "Enter a, or b: \c"
read answer
echo
case "$answer"...
im creating the book table which keeps a foreign key from the publisher table
is that corect ??
create table Book(Book_ISBN varchar(10) not null,
Book_Title varchar(20),
Book_DatePub varchar(10),
Book_Edition varchar(10),
Book_Type varchar(15)
Book_Author varchar(20),
primary key (Book_ISBN)...
i have a table named publisher with Publ_IDNo the primary key
in every raw must be the same.
using insert into publisher the first raw created succesfully the second insert into table gave me a
ORA-00001: unique constraint (SCOTT.SYS_C003035) violated
Any advice
thanks
how can i delete a table in sql? becasue i have create a table called publisher and i can't erase it. Is this has something to do with the clear buffer ??
Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.