David Wright <deb...@lionunicorn.co.uk> writes: > host!auser 09:57:47 /somewhere/that/is/obnoxiously/long/program-1.2.3$ > /bin/su --login > Password: > bullseye on /dev/sda5 toto05 > host 09:57:59 ~# cd /somewhere/that/is/obnoxiously/long/program-1.2.3 > host 09:58:08 /somewhere/that/is/obnoxiously/long/program-1.2.3# > > where that's a simple cut and paste.
Yes. I don't remember why but at some point in the distant past I got into the habit of su - and expect to end up in root's home dir and nowhere else. Thinking back, it could be argued some crude consoles like Sun's or old school text terminals might not have copy-paste available. Maybe even today it could be a thing, don't really know. If my old HP Microserver gen8 is any indication, server people like to do extremely weird stuff for remote management.