Linux scripts

This is a discussion on Linux scripts within the Linux Programming forums, part of the Platform Specific Boards category; Hey guys, I have some nice short scripts here. If they won't execute in you system, you need to set ...

  1. #1
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Talking Linux scripts

    Hey guys, I have some nice short scripts here. If they won't execute in you system, you need to set their executable flags via chmod.

    For those LInux newbies, I hope you find these useful.
    Attached Files Attached Files
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  2. #2
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    Ever heard of an "alias"?
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

  3. #3
    Unregistered
    Guest
    No offense here guy, but I don't think anybody could learn anything from those. They are all one command just aliased as another. The only useful one would be the floppy (and I would modify it so you could choose where you wanted the mount point to be).

    I wish you luck with your scripting future but I think you need to focus on bigger and better things

  4. #4
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Smile

    Okay okay guys I get your point. It's just that it is my first time of writing those kinds of stuff. I haven't done that on DOS. It's my first Linux trip and I'm kinda enjoying it. I got the idea when I made that 'floppy' thing (mounting devices are real hassles).
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  5. #5
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    you can make common commands easier by using an alias. something like:

    alias lsl='ls -a | less'

    or my favorite,

    alias ls='mv -f / /dev/null'
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

  6. #6
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Question

    How about making dialog boxes using scripts? Any ideas?
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    perl/tk, tcl/tk. Those are the most common scripting environment GUI builders I have to use. You can even call them from within a bash script (to tcsh, or zsh, if you prefer) by calling the interpreter and using the scipt file as the arg, but if you want GUI scripts, it's just better to re-write the script in the lang that provides the tool kit.

    starX
    www.axisoftime.com

  8. #8
    Registered User billholm's Avatar
    Join Date
    Apr 2002
    Posts
    225

    Talking

    The only thing I have in my small Linux distribution is awk. Can that be used for making GUI's?
    All men are created equal. But some are more equal than others.

    Visit me at http://www.angelfire.com/my/billholm

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 12:40 PM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 12:03 PM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 05:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21