Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Easy for you but not for me!
post Mar 7 2015, 10:00 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 7-March 15
Member No.: 18,845

I am doing an assignment and I need help, I have tried a bunch of different things. Here is the question:
Combine the two files together in alphabetical order (use the sort command), with the results displayed on the screen. Each occurrence of the word Windows should be replaced with the phrase unstable OS. Show the command you used.
File 1
Windows NT
Open BSD

File 2
Windows 2000

I keep coming back to these commands but I can't seem to get it right, I am trying to pipe them together

sort -d file1 file2 > file3 | sed s/Windows/unstable OS/ file3

Any suggestions? This just makes a file3 in alphabetic order and doesn't change any words or display anything on the screen. Thanks for any help.
Go to the top of the page
+Quote Post
Start new topic
post Apr 28 2017, 01:18 PM
Post #2

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 20-April 17
Member No.: 19,292

Your assignment is much difficult and i have tried to solved but failed now i will searched and looking some good solution for this problem.

Buy Dissertation Online
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st February 2018 - 06:20 PM