LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   possibly new linux user needs answers first (https://www.linuxquestions.org/questions/linux-newbie-8/possibly-new-linux-user-needs-answers-first-441298/)

mrgreaper 05-08-2006 03:29 PM

ok heres one for you not sure if this is possible;
i want to be able to type a single word into the console as the root user that will
load up bfsd -daemon (starts it as a background service) +statusmonitor 1 (shows in the cli screen the server stataus) -priority 1 (i believe thats the highest priority i can give it?)
then i want it to turn off all the gui parts of gnome (to effectively log off but to leave that cli window open)
then if that cli window is closed it would bring up the log in screen

umm is that even remotely posible?

pljvaldez 05-08-2006 04:30 PM

Not sure, but someone else might know if you make a new thread. Long threads like this tend to get ignored when they reach a certain length because people figure it just turned into a BS session...

chrism01 05-09-2006 02:30 AM

Just FYI, re case sensitivity: Linux (Unix) is case sensitive by default, but it will handle any combination of case, whereas MS is not case sensitive...
Not sure why you felt you had to change the names, but also FYI, most Linux shell cmds do not handle spaces as part of a filename without some extra fiddling, so try to use underscore or something instead if you have filenames like that.
In any case, keep up the effort, you'll benefit eventually :)
You can alias a cmd to one word like this

alias mycmd="usualcmd +param1 +param2 etc"

then export the cmd alias

export mycmd

and run it by invoking

mycmd

HTH


All times are GMT -5. The time now is 07:58 AM.