As long as the linoleum won't crack when you bend it back, you can install shoe moulding (assuming you have baseboard trim already. If you don't, install that first, then shoe moulding.)
Typically, baseboard trim is installed first. Then the flooring, then the shoe moulding. (In many cases, the flooring is installed, THEN the baseboard and the shoe moulding.) You can find the trim and shoe in any of the Home Centers. Pre-drill your nailing holes and get the right nails and get a 'nail set'. You'll need primer and paint if you're painting. You'll need stain and poly is you're not. In BOTH cases, you need some wood putty but the 'color' of the putty will matter if you're staining.
Prime (or stain) the wood first. Then install it. Paint (or poly) and putty after you install. Buy some Painter's Masking Tape; NOT Masking Tape. run it along the floor so you don't get any paint (or poly) on the floor when you brush it on. You need to nail the trim into the studs. Plain drywall won't hold the trim.
If you need more info, ask away. My best to ya and hope this helps.
PS: If the linoleum will crack should you attempt to put it back 'down', you don't want to do what I mentioned. YOu actually are out-of-luck, IMO. Maybe someone else can make a recommendation about that.