10-27-2011
Try /home/username/scripts instead of ~/scripts, it won't expand ~ in the middle of a string like that.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I have installed Cygwin on Windows XP and working with some Shell scripting work, I have needed to schedule my script using the cornetab and whatever commands such as "cron", "cron-config" are not working in my cygwin shell,
I re-installed the Cygwin but the same problem is with... (2 Replies)
Discussion started by: sriya
2 Replies
2. Shell Programming and Scripting
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies
3. Shell Programming and Scripting
I am trying to create a shell that asks the user to enter their name, and compare it to my own by saying we have the same name or saying my name and that they have a nice name too. Here is my script...
#!/bin/bash-x
echo "Enter your name".
read name
if
then
echo "My name is Adam too"... (1 Reply)
Discussion started by: amaxey45
1 Replies
4. Shell Programming and Scripting
Hi All,
Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
Issue:
While executing shell scripts in bash shell, following error messages are thrown:
rm:command not found
On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9 Replies
5. Red Hat
Hi all
I am relatively new to linux (specifically red hat). I have installed Fedora 13 on my machine and started playing with the terminal when i found a very strange behavior when typing a command that is not found:
the terminal does not prompt me back. In other words, i am logged as root (or... (4 Replies)
Discussion started by: abohmeed
4 Replies
6. Shell Programming and Scripting
I downloaded and installed "Cygwin yesterday onto my PC running Windows XP. When I tried to type "vi" in Cygwin's window, I got the following message bash: vi: Command not found
What shud i do inorder to get into vi editor
Thanks (10 Replies)
Discussion started by: bobby1015
10 Replies
7. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
8. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
9. Shell Programming and Scripting
In the bash below, if the answer is "y" then goto function remove. If the answer is "n" then goto the id variable line (where the date is inputted). However, I am getting command remove not found, but remove is a function not an command. I must have the syntax incorrect? Thank you :).
... (3 Replies)
Discussion started by: cmccabe
3 Replies
10. Red Hat
Hello Experts,
I have been trying to send a test mail in our linux server with sendmail command.But I am getting command not found error message.
-->when I tried whether sendmail installed or not with the command
rpm -qa sendmail* I got the below,
sendmail-cf-8.14.4-8.el6.noarch... (26 Replies)
Discussion started by: Devipriya Ch
26 Replies
Irssi(1) General Commands Manual Irssi(1)
NAME
Irssi - a modular IRC client for UNIX
SYNOPSIS
irssi [-dv!?] [-c server] [-p port] [-n nickname] [-w password] [-h hostname]
DESCRIPTION
Irssi is a modular Internet Relay Chat client. It is highly extensible and very secure. Being a fullscreen, termcap based client with many
features, Irssi is easily extensible through scripts and modules.
OPTIONS
--config=FILE
use FILE instead of ~/.irssi/config.
--home=PATH
PATH specifies the home directory of Irssi. Default is ~/.irssi
-c, --connect=SERVER
connects to SERVER
-w, --password=PASSWORD
use PASSWORD for authentication.
-p, --port=PORT
automatically connect to PORT on server.
-!, --noconnect
disables autoconnecting.
-n, --nick=NICKNAME
specify NICKNAME as your nick.
-h, --hostname=HOSTNAME
use HOSTNAME for your irc session.
-d, --dummy
use dummy terminal mode.
-v, --version
display the version of Irssi.
-?, --help
show a help message.
--usage
display brief usage message.
SEE ALSO
Irssi has been supplied with a huge amount of documentation. Check /help or look at the files contained by /usr/share/doc/irssi*
FILES
/etc/irssi.conf
Global configuration file
~/.irssi/config
Personal configuration file
~/.irssi/config.autosave
Automatic save of the personal config file when it was changed externally
~/.irssi/default.theme
Default irssi theme
~/.irssi/away.log
Logged messages in away status
/usr/share/irssi/help/
Directory including many help files
/usr/share/irssi/scripts/
Global scripts directory
/usr/share/irssi/themes/
Global themes directory
~/.irssi/scripts/
Default scripts directory
~/.irssi/scripts/autorun/
Directory containing links to scripts that should be loaded automatically on startup
~/.irssi/startup
File containing a list of commands to execute on startup
AUTHORS
/CREDITS
Irssi was written by Timo Sirainen <cras@irssi.org>
This manpage was written by Istvan Sebestyen <stevee@alphanet.ch> and Stefan Tomanek <stefan@pico.ruhr.de>
Irssi IRC client September 2002 Irssi(1)