Sponsored Content
Top Forums Shell Programming and Scripting Redirecting standard out to /dev/null goes to file "/dev/null" instead Post 302652239 by tyknee on Wednesday 6th of June 2012 07:27:20 PM
Old 06-06-2012
Just FYI -

This is a known bug in certain versions of IBM Systems Director (aka CAS AGENT). Apparently it gets automatically installed on AIX 6.1 TL7. Here's a link to a blog (not mine) about how they fixed the issue (pretty much the same as suggested by chihung).

edit - I can't post URLs yet, but if you google "CAS AGENT BUG DEV NULL" it should be the first link.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Creating a file / /dev/null

First of all, hello there cOmMuNity ! :cool: Well, I've got two basic questions: 1) In how many ways it's possible to create a file ? I know one manner using "touch", other typing something like echo "" > file ... The fact is that I need to overwrite the file if it exists, and touch... (8 Replies)
Discussion started by: 435 Gavea
8 Replies

2. UNIX for Advanced & Expert Users

/dev/NULL can't open this file ??

when i write the following two statements : cp /dev/NULL /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp cat /dev/NULL > /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp its gives me errors like : cp: /dev/NULL: A file or directory in the path name does not exist. cat : /dev/NULL can't open... (2 Replies)
Discussion started by: varungupta
2 Replies

3. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

4. Shell Programming and Scripting

Meaning of "> /dev/null 2>&1"

Hi, I am new into UNIX shell scripting and I am wondering what is the meaning of the below text which appears at the end of each line in the ".sh" file: > /dev/null 2>&1 For example, the line below: sh $HOME/stats/Rep777/Act_777.sh omc omc > /dev/null 2>&1 I know for sure what "sh... (10 Replies)
Discussion started by: salanalani
10 Replies

5. Shell Programming and Scripting

Difference between ">/dev/null 2>&1" and "2>&1 >/dev/null"

Does >/dev/null 2>&1 and 2>&1 >/dev/null mean the same? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

6. UNIX for Dummies Questions & Answers

/dev/null 2>&1 Versus /dev/null 2>1

How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&" echo "hello" > /dev/null 2>&1 echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies

7. Shell Programming and Scripting

find error?? find / -name "something.txt" 2>/dev/null

why is this giving me errors? i type this in: find / -name "something.txt" 2>/dev/null i get the following error messages: find: bad option 2 find: path-list predicate-list :confused: (5 Replies)
Discussion started by: magiling
5 Replies

8. UNIX for Dummies Questions & Answers

/dev/null a file using xargs

Hi, I'm currently using the following command to wipe clean a log file which can't be straight out RM'd: cat /dev/null > server.log I'm building this into a script and I'm current working on a command to run on each machine to do this automatically however I have multiple files so I need... (11 Replies)
Discussion started by: Deehem
11 Replies

9. UNIX for Dummies Questions & Answers

Redirect Standard Error to /dev/null is not working.

Hello. When I run a .ksh that contains the command below, and there is no file available in the source location the "FILE_NAME_*.CSV not found" error is still being displayed. FILEN=$(ssh ${SOURCE_SERV} "cd ${SOURCE_LOCATION} ;ls ${FILES}") 2> /dev/null. This is interfering with the rest... (4 Replies)
Discussion started by: jimbojames
4 Replies

10. AIX

/dev/null file issue

Hi Experts, I Have a query. In one of my server I just came to know that there was /dev/null file which is a not a character file. Its just a normal file. I know the command to create the character file (/dev/null) but what is the procedure. Like should i delete /dev/null and create or... (7 Replies)
Discussion started by: jayadeava
7 Replies
BLAZE-CONFIG(1) 					    BlazeBlogger Documentation						   BLAZE-CONFIG(1)

NAME
blaze-config - displays or sets BlazeBlogger configuration options SYNOPSIS
blaze-config [-qV] [-b directory] [-E editor] option [value...] blaze-config -e [-b directory] blaze-config -h|-v DESCRIPTION
blaze-config either sets BlazeBlogger configuration options, or displays their current value. Additionally, it can also open a configuration file in an external text editor. OPTIONS
Command Line Options -b directory, --blogdir directory Allows you to specify a directory in which the BlazeBlogger repository is placed. The default option is a current working directory. -E editor, --editor editor Allows you to specify an external text editor. When supplied, this option overrides the relevant configuration option. -e, --edit Allows you to edit the configuration in a text editor. -q, --quiet Disables displaying of unnecessary messages. -V, --verbose Enables displaying of all messages. This is the default option. -h, --help Displays usage information and exits. -v, --version Displays version information and exits. Configuration Options blog.title=string A title of your blog. blog.subtitle=string A subtitle of your blog. blog.description=string A brief description of your blog. blog.keywords=list A comma-separated list of keywords. blog.theme=string A theme for your blog. Note that it must point to an existing file in the ".blaze/theme/" directory. The default option is "default.html". blog.style=string A style sheet for your blog. Note that it must point to an existing file in the ".blaze/style/" directory. The default option is "default.css". blog.lang=string A translation of your blog. Note that it must point to an existing file in the ".blaze/lang/" directory. The default option is "en_US". blog.posts=integer A number of blog posts to be listed on a single page. The default option is 10. color.list=boolean A boolean to enable ("true") or disable ("false") colors in the blaze-list output. The default option is "false". color.log=boolean A boolean to enable ("true") or disable ("false") colors in the blaze-log output. The default option is "false". core.doctype=string A document type. It can be either "html" for HTML, or "xhtml" for the XHTML standard. The default option is "html". core.extension=string A file extension. The default option is "html". core.encoding=string A character encoding. Note that it has to be in a form that is recognized by W3C standards. The default option is "UTF-8". core.editor=string An external text editor. When supplied, this option overrides the system-wide settings. core.processor=string An external application to be used to process newly added or edited blog posts and pages. Note that you must supply "%in%" and "%out%" in place of an input and output file name respectively. This option is disabled by default. feed.baseurl=string A URL of your blog, for example "http://example.com". feed.posts=integer A number of blog posts to be listed in the feed. The default option is 10. feed.fullposts=boolean A boolean to enable ("true") or disable ("false") inclusion of the whole content of a blog post in the feed, even though the <!-- break --> form is used. The default option is "false". post.author=string A location of a blog post author name. It can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is "top". post.date=string A location of a date of publishing. It can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is top. post.tags=string A location of post tags. They can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is "top". user.name=string Your full name to be used in the copyright notice, and as the default post author. The default option is "admin". user.nickname=string Your nickname to be used as the default post author. When supplied, it overrides the user.name setting. This option is disabled by default. user.email=string Your email address. The default option is "admin@localhost". ENVIRONMENT
EDITOR Unless the core.editor option is set, BlazeBlogger tries to use system-wide settings to decide which editor to use. FILES
.blaze/config A file containing the configuration. .blaze/theme/ A directory containing blog themes. .blaze/style/ A directory containing style sheets. .blaze/lang/ A directory containing language files. EXAMPLE USAGE
Configure the default text editor: ~]$ blaze-config core.editor nano The option has been successfully saved. Configure the user information: ~]$ blaze-config user.name Jaromir Hradilek The option has been successfully saved. ~]$ blaze-config user.email jhradilek@gmail.com The option has been successfully saved. Configure the blog appearance: ~]$ blaze-config blog.title BlazeBlogger The option has been successfully saved. ~]$ blaze-config blog.subtitle a CMS without boundaries The option has been successfully saved. ~]$ blaze-config blog.theme keepitsimple.html The option has been successfully saved. ~]$ blaze-config blog.style keepitsimple.css The option has been successfully saved. Configure the RSS feed: ~]$ blaze-config feed.fullposts true The option has been successfully saved. ~]$ blaze-config feed.posts 10 The option has been successfully saved. ~]$ blaze-config feed.baseurl http://blaze.blackened.cz/ The option has been successfully saved. Open the configuration in a text editor: ~]$ blaze-config -e SEE ALSO
blaze-init(1) BUGS
To report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit the discussion group at <http://groups.google.com/group/blazeblogger/>. COPYRIGHT
Copyright (C) 2008-2011 Jaromir Hradilek This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.2.0 2012-03-05 BLAZE-CONFIG(1)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy