02-20-2009
try this..
vardate=$(date +"%m%d%y%H%M")
log_file=/xxxx/xxx/logs_$vardate
the output format like logs_MMDDYYhhmm.
i hope this will help you.
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i am unable to write to some .php files in the following directory:
drwxr-xr-x 3 headroom max 448 Jun 6 2004 Docs
i already tried this:
chmod +777 Docs
chmod: changing permissions of `Docs': Operation not permitted
thanks for your help! (2 Replies)
Discussion started by: phonedog365
2 Replies
2. Shell Programming and Scripting
Hi Unix gurus,
I created this script to automate the copying of files daily from one server to another using the scp command.
-->
#!/bin/ksh
KEY="$HOME/.ssh/SSHKEY"
if ;then
echo "Private key not found at $KEY" >> $LOGFILE
echo "* Please create it with \"ssh-keygen -t dsa\" *" >>... (1 Reply)
Discussion started by: gholdbhurg
1 Replies
3. UNIX for Dummies Questions & Answers
rm: Unable to remove directory /mnt/users/test/logs/: File exists
ls -latr
total 191208
drwxrwxrwx 6 test echo 4096 Jul 3 22:36 ..
-rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4
drwxrwxr-x 2 test echo 4096 Jul 3 23:00 .
M not able to delete... (4 Replies)
Discussion started by: solitare123
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Just want to be sure that if I write a directory like:
/documents/script.pl
is the same as to write:
/documents//script.pl
Thanks in advance (1 Reply)
Discussion started by: fadista
1 Replies
5. UNIX for Advanced & Expert Users
Hi Gurus,
is there a possibility to show where a user can write to?
i want to see all directories where a user has permissions to write to.
Kind Regards
FranzB (0 Replies)
Discussion started by: FranzB
0 Replies
6. Shell Programming and Scripting
I need to get the names of files which are starting with a string testfile. Also i want to create a XML file in the same location and write these file names into the XML.
Ex:
<path>
<dir>
<file>testfile1</file>
</dir>
<dir>
<file>testfile2</file>
</dir>... (4 Replies)
Discussion started by: vel4ever
4 Replies
7. UNIX for Dummies Questions & Answers
Hi Folks,
I have logs at the following location
cd /out/app/logs/
now that logs directory contain different types of logs now sometimes i need to
do disk clean up activity so i need to zipped the logs can you please advise
any command by which all the logs created in this directory are... (2 Replies)
Discussion started by: punpun66
2 Replies
8. Homework & Coursework Questions
Hi the below is my code and my requirement is
a. Whenever below scripts run – logs should be redirected to a new log file in /u/file/newlog folder. Please let me know how to write this info
#!/bin/ksh
choice=$1
browcher=$2
ne=$3
Flow=$4
logFile=~mbadm/redeploy.log
case "$choice"... (5 Replies)
Discussion started by: dsreddy447
5 Replies
9. Shell Programming and Scripting
As i am working in unix environment so i have an logs that is created by my application at the following location that is
/opt/app/glac/current/servers/ops/logs
inside the logs directory there are different kinds of logs(that is the file having extension as .log ) have been created... (1 Reply)
Discussion started by: 2015nks
1 Replies
10. UNIX for Beginners Questions & Answers
Dear Gentle Folk,
I thought I knew unix/bash etc.
The compound statement
USING TCSH!
cd /lkjsdf ; source junk.1
completes and then logs me off IF the cd directory does not exist. It works fine if the
directory does exist. Why is this and how do I fix it.
It doesn't matter what... (1 Reply)
Discussion started by: homerwsmith
1 Replies
LEARN ABOUT DEBIAN
murmur
MURMUR(1) Museek Daemon Plus MURMUR(1)
NAME
Murmur - PyGTK2 client for museek
SYNOPSIS
murmur [-c --config <filename>] [-l --log <directory>] [-v] [--version] [-d] [-h] [--help]
DESCRIPTION
Murmur provides a GTK2 interface for the Museek Daemon for chatting, transferring files, managing users, viewing user info and browsing
shares on the Soulseek P2P network and Soulfind Servers.
You will need a configured and running museekd(1).
OPTIONS
Murmur accepts the following options:
-c <filename>, --config <filename>
Use a different config file.
-l <directory>, --log <directory>
Use a different chat log directory.
-v, --version
Display Version and exit.
-d Display debug messages while running.
-h, --help
Display Help and exit.
EXAMPLE
To run this program the standard way type:
murmur
Alternativly you use a different config file with:
murmur --config config
Or a different chat logging directory with:
murmur --log logdir
FILES
~/.murmur/config
The default location for the mucous config file.
~/.murmur/logs/
The default directory for chat logs.
~/.murmur/logs/room/
The directory where chat room logs are stored.
~/.murmur/logs/private/
The directory where private chat logs are stored.
~/.murmur/$USER.$EXT
The file where a user's userinfo image is saved.
AUTHORS
daelstorm <daelstorm@gmail.com>
SEE ALSO
mulog(1) muscan(1) muscand(1) museekcontrol(1) museekd(1) museeq(1) musetup(1) musetup-gtk(1)
daelstorm Release 0.3.1 MURMUR(1)