Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 10-07-2003, 05:14 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Question (donno wot to head it as)

I have root on a debian server..
i want to add a command that my users can type..
i.e they type "get-muh" and it performs a wget <url> command.... is this possible, if so please inform me as to what command(s) i would have to do or whatnot...
Old 10-07-2003, 05:38 PM   #2
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
make a script call "get-muh" that has this in it:


then give it executable permissions...

chmod 755 get-muh

then put it in /usr/bin or some other common place

Old 10-08-2003, 11:37 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks very much
i take it i do like...
wget url....
tar zxvf muh....
rm muh...tar.gz

it will perform each command after each are fully completed... just incase the last command deletes the tar.gz before its untar'd...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wot no Umlauts kaine Linux - Newbie 13 01-06-2006 05:05 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-04-2004 11:23 PM
SuSE 9.0, Wot no rc.config? tethysgods Linux - Networking 1 07-24-2004 07:12 PM
apache or httpd I donno nomore Kopper Red Hat 2 09-16-2003 04:11 PM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration