11-14-2009
It is not the solution.
But i never use, Backspace or Delete when i am inside vi.
Delete - x in ESC mode |
Backspace - X in ESC mode. |
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies
2. Shell Programming and Scripting
how do i write a script that'll open what i entered and scan it for a certain line of text.
for example, i enter a filename (that exists) and in that file i want to scan a certain word that'll show how much of that word appears throughout the file. (2 Replies)
Discussion started by: mrhenry
2 Replies
3. Shell Programming and Scripting
hello! i am very new to this, so please bear with me. i used red hat linux to creat a little two page website for school, which was really just an exercise in absolute and relative paths.
so, now, its all done, and i want to play with it some more, but i think there may be a problem with vi. i... (3 Replies)
Discussion started by: jojodancer
3 Replies
4. UNIX for Dummies Questions & Answers
I need to write a script file that will tell me the largest number in a group of numbers. ANy help is greatly appreciated (2 Replies)
Discussion started by: twan
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys
I have a quick question
I have a file that is approx 1.5 million lines long of which most of the lines start with
INFO: some info
INFO: some more info
INFO: etc
I want to remove these lines
I was thinking along the lines of
:%s/INFO*//g
but this does not work
None... (6 Replies)
Discussion started by: grahambo2005
6 Replies
6. UNIX for Dummies Questions & Answers
1. How the Unix system identify the Other User to access for file permission?
2. What command we use to convert the extension of a file name?
3. What command use to convert other editing file to Unix based text file?
Please answer of these Question???Its necessary for me?? (3 Replies)
Discussion started by: pradipta_pks
3 Replies
7. Programming
Hi,
I am doing a C++ self-study and I got stuck with this problem.
I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal.
Here is what I wrote:
#include <iostream>... (11 Replies)
Discussion started by: faizlo
11 Replies
8. Shell Programming and Scripting
Hi,
I'm new to unix and got struck here.Can any one help me out.My question is ..
is the command
if ;
then
echo "do some stuff"
fi
correct?
Thanks in advance
abhijeet (18 Replies)
Discussion started by: Abhijeet_Atti
18 Replies
9. UNIX for Dummies Questions & Answers
Hi,
When doing ls -l, is it right to assume that all files with the date and time on it are files that are created/modified on the current year?
Is there any way to display the creation/modified date of a file that are not created/modified in the current year? (4 Replies)
Discussion started by: newbie_01
4 Replies
LEARN ABOUT CENTOS
drop_table
DROP
TABLE(7) PostgreSQL 9.2.7 Documentation DROP TABLE(7)
NAME
DROP_TABLE - remove a table
SYNOPSIS
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DESCRIPTION
DROP TABLE removes tables from the database. Only the table owner, the schema owner, and superuser can drop a table. To empty a table of
rows without destroying the table, use DELETE(7) or TRUNCATE(7).
DROP TABLE always removes any indexes, rules, triggers, and constraints that exist for the target table. However, to drop a table that is
referenced by a view or a foreign-key constraint of another table, CASCADE must be specified. (CASCADE will remove a dependent view
entirely, but in the foreign-key case it will only remove the foreign-key constraint, not the other table entirely.)
PARAMETERS
IF EXISTS
Do not throw an error if the table does not exist. A notice is issued in this case.
name
The name (optionally schema-qualified) of the table to drop.
CASCADE
Automatically drop objects that depend on the table (such as views).
RESTRICT
Refuse to drop the table if any objects depend on it. This is the default.
EXAMPLES
To destroy two tables, films and distributors:
DROP TABLE films, distributors;
COMPATIBILITY
This command conforms to the SQL standard, except that the standard only allows one table to be dropped per command, and apart from the IF
EXISTS option, which is a PostgreSQL extension.
SEE ALSO
ALTER TABLE (ALTER_TABLE(7)), CREATE TABLE (CREATE_TABLE(7))
PostgreSQL 9.2.7 2014-02-17 DROP TABLE(7)