Tips for me, that is.
Because Linux seems to love to be driven by uncooperative, fiddly commands with little sense towards what they’re used for, I figure I should write down any I learn.
sudo su - student
Will get me into the student account on WDM.
When all you want is to edit the text and you can’t double click a file… Using it is another problem altogether though.
ssh (place) -X
Allows you to SSH into a machine with graphical stuff permitted. Not everything should be run through the terminal!
Counts the number of lines in a file. Counts empty lines too.
Need a command for saving only 10% of a file. I’m pretty sure Linux would have something like that.
sed -n '10p'
Displays the 10th line from the file.