answersLogoWhite

0

How do you delete a line in unix?

Updated: 8/16/2019
User Avatar

Wiki User

14y ago

Best Answer

It depends entirely on which editor you are using; the commands are different in the different editors.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you delete a line in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you clear a Unix memory dump?

A Unix memory dump is usually placed in a file called 'core'. You merely delete the file with the 'rm' command, as you would any other file on the system. For Linux/Unix on the mainframe, the file is called CEEDUMP (if the C plus plus runtime LE library is being used), and you delete it the same way.


Does UNIX have a command line interface?

Several different versions of UNIX have GUI's or Graphical User Interfaces. The most common example of UNIX with an interface is Mac OS X.


Does UNIX have alternatives to the command line user interface?

Yes, Unix has several variants of Graphical User Interfaces that may be used instead of the command line if the user wishes it.


How do you delete file without moving in to trash in mac systems?

To do it from a command line: Open a Terminal window and use the unix "rm" command. To do it with a GUI: Download and install the muCommander program (very similar to Windows Explorer, but for the Mac).


Write a shell script which deletes all line containing the word unix in the filesn suppiled as argument to this shell script?

# SS29 # Script to delete all lines containing the word 'unix' from files supplied as arguments # Usage: SS29 file1 file2 file3 ... if [$# -lt 2] then echo Insufficient arguments exit fi for file do grep -v unix $file>/temp/$file cp /temp/$file $file done


In Unix-like operating systems what does 'unlink' do?

Unix-like operating systems are used to save files on a computer operating system. When using this type of system, to unlink a file means to erase or delete it.


How do you delete a folder from command prompt?

In Dos-just write (DEL Folder Name) this command will delete all the Files inside that folder,then write (RD Folder Name) This will Remove your Folder. Remember both command contain Same folder name. Which you want to Delete.(DEL)command is used to delete Files. (RD) command is used to delete Folder


What is the difficulty in using UNIX?

The usual difficulty that people report concerning UNIX is the use of the command line. The command line has a lot of power and the commands may seem somewhat arcane at times. Like anything else, you have to study what the commands do and how to use them to harness the power of UNIX, but once you do that it isn't that difficult to use.


What is the unix command to delete a given file?

To delete a file, type: rm filename To delete a file, but prompt for confirmation first use: rm -i filename In both cases, replace filename with the name of the file you're wanting to remove.


Is unix and Linux are both command line and gui based os?

Yes


What is the administrator's prompt in the command line on unix?

The usual indication of running as the administrator in Unix is show a prompt that contains the '#' character as either the prompt or part of the prompt.


What are the different types of buffering in unix?

Fuly buffered Line buffered Un buffered