screen is a useful command when you do not have other better choice like vnc, specially for background job running. One thing that bothered me is I cannot page up and down simply even specified by
screen -h 2000
So I have to enter copy/paste mode by: ctrl+a, esc, page down/up
Showing posts with label screen. Show all posts
Showing posts with label screen. Show all posts
Saturday, October 30, 2010
linux: screen
Thursday, April 9, 2009
Linux:shell:BASH: How to delete one line by sed
If you want to delete one line containing one word "ThisWord" by sed, then you can do in the way:
sed -i "/ThisWord/d" YourTextFile.txt
Note, here '-i' is to delete it from the original file. Without it, sed only prints the file on screen. So before using '-i', make sure you are doing correct things.
Subscribe to:
Posts (Atom)
