LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2006, 03:29 PM   #31
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15

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?
 
Old 05-08-2006, 04:30 PM   #32
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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...
 
Old 05-09-2006, 02:30 AM   #33
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,395

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
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
 
  


Reply


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
Linux+ Guide by Eckert - Answers? Philster Linux - Certification 5 03-24-2010 10:07 AM
Show printable version button for Linux Answers JZL240I-U LQ Suggestions & Feedback 2 08-04-2005 03:42 PM
Need some answers about linux Distros demonic Linux - General 14 01-12-2005 04:24 PM
Newbies really need to know following answers to have a good base on linux. tusher Linux - Newbie 8 03-13-2004 09:18 AM
Category suggestions for Linux Answers darthtux LQ Suggestions & Feedback 1 09-07-2003 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 PM.

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