If the server has a GUI (X with any DE - Desktop Environment or WM - Window Manager), it could be quite easy...
First locate, their desktopfiles ('Similar' to desktoplinks in Windows (it droped (plain-)text-links back around 1995):
Lets say your filemanager is "nautilus", start it as root to look for the links:
Once you found minecraft and ts-server, place (copy-paste) those 2 files in "/etc/xdg/autostart", as the browser was started as root, there should be no problem doing so...
And in theory, you should be able to restart and they should get started on boot (to gui).
I'm sure I'm doing something wrong but as I am new to bash shell scripting I'm not sure what:
Here's the code
webalizer.conf is sitting in the same directory as this file which is named webalizer.sh. Can someone tell me if I've got the syntax right -- it that's correct? I'm executing the... (3 Replies)
Hi guys, I'm new to the forum so forgive me if I'm sounding ... daft.
I currently work in a Tech Support role. Every day we have to generate data by running around 10 .sh scripts. I was thinking instead of having to ./filename 10 times is it possible to right a new script that will run these for... (16 Replies)
i have two lines in my rc.local file that are
wget -O/<path>/<file>.zip url://domain.com
unzip -o /<path>/<file>.zip
the wget works fine, but the unzip won't work. when i copy/pase the unzip line to the prompt it works fine. i thought that maybe the unzip was running before the wget... (0 Replies)
I am writing a shell script in bash one of the thing I want to show is size of export /home
du -sk /export/home/oracle | cut -c 1-5
echo "kbytes"
when I run the script kbytes shows up in the second line, How can I append kbytes on the same line, such as
61233 kbytes
please guide
thanks (2 Replies)
Hi,
I have a bash script which I have referenced in the rc.local of my fedora linux OS. However it doesnt respond the same as when run in terminal from fedora.
The bash script has a series of interactive questions that require user input as shown:
#!/bin/bash
echo "Do you want to use... (1 Reply)
I have a bash script, but it needs to have a simple protection with password.
So if a user wants to run the script , there should be a kdialog to asks for a password.If the password is correct the script starts to run.
It should not be the passord of root or another admin user.Just a password in... (2 Replies)
to gather the cpu utilization from a system in 5 minute intervals and direct output to file.
I'm new at scripting and while this seems like an easy task I'm confused on where to start. thanks for any help (1 Reply)
Hi to everyone here,
I'm a new user and relatively-new linuxer.
I'm trying to write a script that checks if every file from a directory is present in a given list and if not, delete it.
should be simple. But I think I've done half the work only:
this is to create the reference list:
for c... (2 Replies)
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
LEARN ABOUT OSF1
sysman_intro
sysman_intro(8) System Manager's Manual sysman_intro(8)NAME
sysman_intro - Introduction of SysMan applications
DESCRIPTION
SysMan is a suite of applications for managing Tru64 UNIX systems. The SysMan applications provide a simple, easy to use, graphical user
interface (GUI) for common system management tasks including installation and configuration.
When you follow the installation instructions in the Installation Guide, the installation GUI, Installation Setup, is displayed automati-
cally.
To help you prepare the system for general use, the Tru64 UNIX: System Setup checklist is displayed when you log in as root for the first
time after performing an installation.
SysMan applications and help are available from the Application Manager (tool drawer) icon on the CDE front panel, or from the SysMan
Applications panel above the SysMan Station icon on the root CDE window.
For additional information, see the Welcome to SysMan help volume by performing the following procedure: Click on the Application Manager
icon (the file drawer) on the CDE front panel. Double click on the System_Admin application group icon. Double click on the Welcome to
SysMan icon.
If you are not running CDE, but have installed it, you can open the Welcome to Sysman help volume by entering the following sequence of
commands at the command line: /bin/sh PATH=$PATH:/usr/dt/bin export PATH DTHELPSEARCHPATH=/usr/dt/appconfig/help/C/%H export DTHELPSEARCH-
PATH DTUSERSESSION=${USER}-`uname -n`-0 export DTUSERSESSION dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION dthelpview -helpVolume browser
SEE ALSO
Commands: bttape(8), bindconfig(8), diskconfig(8), dxaccounts(8), dxadvfs(8), dxarchiver(8), dxdw(8), dxfileshare(8), dxhosts(8), dxkernel-
tuner(8), dxlicenses(8), dxlsm(8), dxpower(8), dxpresto(8), dxproctuner(8), dxshutdown(8), dxsysinfo(8), mailconfig(8), mailusradm(8), net-
config(8), nfsconfig(8), printconfig(8), sysman(8),
System Administration
Release Notes
Installation Guide
Technical Overview
X Window System Administrator's Guide
Network Administration
Common Desktop Environment: User's Guide
CDE Companion
Common Desktop Environment: Advanced User's and System Administrator's Guide
Common Desktop Environment: Programmer's Overview
Common Desktop Environment: Programmer's Guide
Common Desktop Environment: Help System Author's and Programmer's Guide
Common Desktop Environment: Style Guide and Certification Checklist
OSF/Motif Style Guide
sysman_intro(8)