Commanding Linux — 17 Comments

  1. PuTTY is like the Unix version of Telnet. I don’t know much about either. We have a couple of Unix servers knocking around here and like yourself I’ve Bash-ed and Chmodded them but most of the time I haven’t a clue what to do with them. Anytime they break, a procession of people in Black Cowls carrying upside down crucifixes and black candles march into our Datacentre and after some really loud chanting, the servers work again. There is this site, but you’d want to be a right NERD!

  2. First things first. The laptop seems to be running as or logged in as ‘root’. My first suggestion would be to log out as root. Do it, do it now! ‘root’ is the highest priority user in the system and the system will allow you to do anything, and I mean ANYTHING, as root. You could chown some files you shouldn’t or delete some files you shouldn’t leave the laptop inoperable.

    If you can login as a regular user, then you have more options. But in putty, not many games can be played. Try typing in ‘fortune’ and see if it takes you anywhere 🙂

  3. Jack – I don’t think we have anyone around here with black cowls or candles which is a pity. Maybe I should kit myself out? Could you please send me a recording of their chants so I can learn how to do it? Thanks for that list. I’ll try it when Yer Man is out again.

    Semantic – Root sounds great! I want to be able to do anything, so why should I deny myself? It’s a pretty useless yoke if there are no games there though…….

  4. Hmmm. If anyone suggests you use commands like ‘rm -rf’ or ‘fdisk’ don’t.

    You could try ‘nice’, that’s always polite?

    ‘man’ works, but ‘woman’ doesn’t for some reason.

  5. To look at anything you need cat, if you’re just interested in the end of things, use tail.

    To change something vi is handy, to change everything sed is the business.

    ps to find out what’s going on, and kill what you don’t like.

    man will just get you into trouble, not out of it!

    Hope that’s helpful!

  6. Thrifty – ‘rm -rf’ and ‘fdisk’? Thanks. I’ll try those.
    ‘man’ works, but ‘woman’ doesn’t for some reason.
    No surprise there.

    Neighbour – I can’t have cat because of the dog. Can you actually kill things with Linux? Brilliant!!!

  7. There is a great game there called mv.

    You can run it as follows:

    ‘mv /sbin /dev/null’ – Without the quotes of course..

    It’s a bit slow to start but it’s great once it gets going.

  8. Robert – At last! A game. I’ll get up early tomorrow and hope he has left his laptop on again.

  9. or just change /boot/grub/menu.lst so the menu items are pointing to the wrong options. That’s fun all by it’s self. mv is just too obvious!

    so: either nano /boot/grub/menu.lst
    or instead of nano use pico.

    Then watch as the swaring begins!

  10. Ooooo, I bet The Other Fellow is going to be getting a lot of nasty calls from upset customers in the morning…


    …seems like he already has. Keep forgetting about the time difference.

    And ‘fdisk’ is a fine one it is. But like drinking petrol and swallowing a match, you can only do it once.

  11. I’m very much in the dark on this one. I haven’t a clue about Linux. I did manage to successfully remove it from a laptop, but I’m not sure that’s much of an achievement.

  12. In my world, Putty is the portal to connect to Redbrick and spend hours logged in and not chatting with other Brickies at all…

Hosted by Curratech Blog Hosting