Search : in
By :

Copy some line in linux using command only

Last answer on Jan 21, 2009 6:07:55 pm GMT mukund, on Jan 21, 2009 3:23:01 am GMT 
 Report this message to moderators

Hello,
can u tell me how to copy a particular line from a file to another file using command
thank u

Configuration: Linux
Epiphany 2.14

Best answers for « copy some line in linux using command only » in :
Creating a Linux command Show Creating a Linux command This article is valid for UNIX systems as well. What is a command? Many persons are discouraged to start Linux due to the complex syntax uses(mostly known as Linux command), but what is really a Linux...
[Linux]Restarting the network interface using command lines Show [Linux]Restarting the network interface using command lines When setting up a network, specially if you need to verify that a DHCP server assigns IP addresses correctly, restarting the network interface using command lines rather than the...
Log in remotely with SSH (Linux) ShowLog in remotely with SSH (Linux) Issue Solution Using SSH through a proxy: Issue Log in remotely with SSH under Linux. Solution The commands below are relevant only if you have an existing account on the PC you want to connect and...
Creating an ISO image under Linux ShowCreating an ISO image under Linux Create ISO image(which we will name) a disc in a CD-ROM drive(/dev/cdrom) is quite simple : dd if=/dev/hdd of=mycd.iso
Enabling/Disabling the firewall using command line ShowEnabling/Disabling the firewall using command line Disable Windows XP firewall Enable the Windows XP firewall Under Windows XP SP2, it is possible to enable/ disable the firewall with the following command lines: Disable Windows XP...
Download EasyConsole ShowA Dos shell utility to rapidly navigate in disk drive. It lets you automatically store a command line for future use. The program provides 20 commands and can store 10 lines of command the more commonly used. Advantage Shortcuts can be assigned...
Linux commands ShowTable of main Linux commands Command Description DOS equivalent ls lists the content of a directory dir cd change directory cd cd .. parent directory cd.. mkdir creates a new...
Operating Systems - Customising DOS ShowThe DOS start-up procedure is defined in the autoexec.bat and config.sys files located in the root of your "C:\" drive. We highly recommend making back up copies of these files before modifying them. To deactivate a line of command in either file...
Linux - The shell ShowIntroduction to the shell The command interpreter is the interface between the user and the operating system, hence the name "shell". The shell therefore acts as an intermediary between the operating system and the user thanks to command lines...

1

 jipicy, on Jan 21, 2009 6:07:55 pm GMT
  • +1

Hi,

grep 'pattern' file1 > file2
sed -n '/pattern/p' file1 > file2
;-))
$ man woman
Il n'y a pas de page de manuel pour woman.

Reply to jipicy