I think it's because your new version of Linux has an alias or function overriding the ls command. Just to be sure you are using the command and not some alias'd version of it, use:
Hi all,
I'm new in linux. When I try to run a bash script, it doesn't execute and i receive the following error message
20070321:220002|ERROR||exportDatabase.bash|Another EXPORT process (pid=2799) is still running.
If i kill this pid, i receive "No such process".
This process was running... (5 Replies)
Hello,
Is there some way to validate a bash script before running it. I want to make sure all of the syntax and everything is good so that I dont get a false return code.
Thanks,
tom (7 Replies)
Hey guys, so I've been trying to write a bash script called runSorter.sh that runs an executable that also takes in some parameters and outputs the results to a text file. The executable, sorter, takes in a number parameter. I want to make it so that you can input as many number parameters into... (4 Replies)
Hey guys, so I wrote a small script that pretty much just takes in two numbers and counts from the first to the second, e.g.
unknown-hacker|544> count.sh 1 3
1
2
3
My problem is I want to make it so that if you input invalid parameters, such as non-numerical characters, more than 2... (2 Replies)
hi guys
we've had nagios spewing false alarm (for the umpteenth time) and finally the customer had enough so they're starting to question nagios. we had the check interval increased from 5 minutes to 2 minutes, but that's just temporary solution. I'm thinking of implementing a script on the... (8 Replies)
I wish to be able to give to a client the opportunity to :
0) Turn one of my ubuntu computers into a webserver
1) See a webpage after visiting a url where an external user/client can set a couple of variables (e.g. Number1= ?, Number2=?)
2) By pressing "run" the program runs on my machine
3)... (1 Reply)
Hello UNIX & Linux Forums community! Long time Linux daily user hobbyist, new to shell scripting....
I'm working on a script that does all the "work" in one script, and makes calls to a second script to display info to the user via mostly expanding variables in heredocs.
I'm contemplating... (6 Replies)
Hello fellow scripters...
I am trying to set up a script for work that reads the contents of a file of IP address and network names, takes these and runs a given nmap scan against them and then saves the output to a file with the filename of the network name.
Such as...
IP file looks like... (4 Replies)
Discussion started by: hawkeyesc72
4 Replies
LEARN ABOUT OSF1
ali
ali(1) General Commands Manual ali(1)NAME
ali - list mail aliases (only available within the message handling system, mh)
SYNOPSIS
ali [-alias aliasfile] [-help] [-[no]list] [-[no]normalize] [-user useraddr] [-nouser] [aliases...]
OPTIONS
Specifies the alias file to be consulted by ali. You can specify more than one alias file, but each aliasfile must be preceded by -alias.
In addition to any alias files that you specify, ali consults the system alias file /usr/lib/mh/MailAliases.
You can set up an entry in your so that ali automatically consults an alias file. To do this, add the Aliasfile entry to your pro-
file. See mh_profile(4) for more information. Prints a list of the valid options to this command. Prints the addresses on separate
lines. If you do not specify the -list option, the addresses are separated by commas and printed on as few lines as possible.
Instructs ali to try to track down the official hostname of the address. This can be suppressed by using -nonormalize. The default
is -nonormalize. Displays all the aliases that contain a specific name. Instead of listing the addresses that each given alias
expands to, ali lists the aliases that expand to include each given address. You must specify the complete user name that you have
used in your alias file.
The defaults for this command are:
-alias /usr/lib/mh/MailAliases -nolist -nonormalize -nouser
DESCRIPTION
The ali command searches the specified mail alias files for each of the given aliases. It creates a list of addresses for those aliases,
and displays that list on the screen.
PROFILE COMPONENTS
Location of your mail directory. Location of your personal alias file.
EXAMPLES
The following example shows how the -user option can be used to list all the aliases containing the address Parker@Venus: % ali -user
Parker@Venus Parker@Venus: Group, Reviewers, Badminton
FILES
The user profile. The system alias file. The system password file. The system group file.
SEE ALSO mh-alias(4)ali(1)