#!/usr/bin/bash
if
then
echo "Not valid arguments entered. Just username should be entered."
else
USER_NAME=$1
FILE_NAME=$USER_NAME.info
UNN=STUDIN\\\\$1
echo $UNN
last STUDIN\\\\$1
last UNN
If I type `last STUDIN\\eip060` it works but if I try to expand it with variable it is... (5 Replies)
All,
I have a list of over 400 users that need certain directories created. These will be created in /users/$username on a system and I need a directory called chess under these directories that I create.
Instead of me manually adding each one (mkdir /users/user1, mkdir /users/user1/chess)... (1 Reply)
a) Total number of words in the file.
b) Total number of different words in the file.
How can I use the translate and/or unique commands to accomplish this (4 Replies)
Greetings all. :)
I would like to use sed to join all non-blank lines together in a particular file. I was thinking I could do this by simply replacing the terminating, new-line character on every line which is not blank, but I must be missing something in my sed line:
$ sed... (3 Replies)
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Hey everyone, just now joined because I didn't want to go onto Ubuntu forums and start asking about how to write shell scripts. Seems like this is a pretty active forum for exactly what I need.
I'm trying to modify a shell script I found online, the end goal is to have it find all files in the... (9 Replies)
Hello,
This is basic (i think). I am trying to run a shell script which would go into each folder (folder names defined in the list) and after entering would run some commands, once done, come out of the folder and continue until the list ends.
Pretty basic and there are bunch of example online. ... (9 Replies)
Discussion started by: Zam_1234
9 Replies
LEARN ABOUT DEBIAN
quake-server
QUAKE-SERVER(6) Games Manual QUAKE-SERVER(6)NAME
quake-server - dedicated server for Quake
SYNOPSIS
quake-server [WRAPPER-OPTIONS] [ENGINE-OPTIONS] [ENGINE-COMMANDS]...
DESCRIPTION
This manual page documents briefly the quake-server command.
Quake is a popular first-person shooter game that appeared in 1996, released by iD Software. This wrapper script will launch the Quake
dedicated server.
The game data needs to be installed independently using the 'game-data-packager' program, and by default it will be looked for at
/usr/share/games/quake.
This wrapper script accepts the two common GNU-style options to get information on the program. Any further arguments are passed to the
engine unmodified. Consult the engine documentation for full details, but most engines support a syntax whereby engine switches are pre-
fixed with a minus sign, and you can give console commands by prefixing with a plus sign. See the examples section for some common cases.
OPTIONS
These options are accepted for WRAPPER-OPTIONS in the synopsis.
-h, --help
Show summary of options.
-v, --version
Show version of program.
SEE ALSO quake(6), quakespasm(6), game-data-packager(6).
AUTHOR
This manual page, and the Quake wrapper script, were written by David Banks and Simon McVittie for the Debian project (and may be used by
others).
2011-06-22 QUAKE-SERVER(6)