Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Frequently used command in UNIX Post 54807 by zazzybob on Wednesday 25th of August 2004 04:28:28 AM
Old 08-25-2004
Depends what shell you're using.

(type "echo $0" and give us the output).

Cheers
ZB
 

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

why i havent been posting so frequently...

to start, i will continue to be an active member of this community and still love computers and unix based operating systems. ive been busy recently with a pretty big project, not involving unix :p one of my other hobbies is automobiles. i have a 1986.5 toyota supra, now if anyone here has... (8 Replies)
Discussion started by: norsk hedensk
8 Replies

2. UNIX for Dummies Questions & Answers

Server rebooting frequently

O/P of the uname -a Server Server 4.0 3.0 3516 Pentium IV(TM)-ISA/PCI Server is getting rebooted frequetly... I don't know what is the problem in server ... Any help why the server is getting rebooted frequetly. Can i check what is the problem like in log files (5 Replies)
Discussion started by: srikanthus2002
5 Replies

3. HP-UX

Server Hanging frequently - urgent help required

hi, I am facing a sever problem in mu HO-UX 11.11.0 Server which is getting hanged for last 3/4 days. Its giveing error insufficient memory. Earlier this problem was not there. We are using oour ERP & informix on the same. There no heavy & sudden increase of data. When I checked the... (3 Replies)
Discussion started by: micku_100
3 Replies

4. Solaris

Server Rebooting frequently

Deall All, I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production . Can this be solved by... (10 Replies)
Discussion started by: sudhansu
10 Replies

5. Linux

/var getting fill frequently

I have Red hat Linux server. There are 14 NFS shares which are coming from NAS. There are so many messages filling /var/log/messages, which seems like some NFS logging is enables somewhere, but I am not able to figure it out. Every few minutes, it will filll my /var (which is part of root) to 100%... (2 Replies)
Discussion started by: solaris_1977
2 Replies

6. Linux

Running 'sync' command frequently.

I have a Linux server that runs a Java based app that automates file transfers for a large number of users/systems. I'm running into a problem with the scripts for this automation program in that when I have a function in the script generate an output file, and the next line requires that file to... (1 Reply)
Discussion started by: acascianelli
1 Replies

7. Red Hat

Interface card link goes down and recovers frequently

Hi Experts, I have an issue where the interface card went down for like four times in last one week in redhat linux server. Every time it goes down, it comes back. 2014 Oct 21 07:22:14 <hostname> kernel: nx_nic: NIC Link is down 2014 Oct 21 07:22:21 <hostname> kernel: nx_nic: NIC Link is... (3 Replies)
Discussion started by: dhanu1985
3 Replies
mren(1) 						      General Commands Manual							   mren(1)

NAME
mren - mtools utility to rename an existing DOS file SYNOPSIS
mren [-v] sourcefile targetfile OPTIONS
Specifies verbose mode. The new file name is displayed if the name supplied is invalid. DESCRIPTION
The mren command renames an existing file on a DOS file system. You can also use the mren command to rename directories. Reasonable care is taken to create a valid DOS file name. If an invalid DOS targetname is specified, the mren command changes the name and, if the -v option is specified, prompts the user to accept or reject the new name. The path component of the targetfile argument, if supplied, is ignored. That is, you cannot use the mren command to move a file from one subdirectory to another. DOS subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. Not all UNIX file names are supported in the DOS world. The mren command may have to change UNIX names to fit the DOS file name conven- tions. The following table shows some examples of file name conversions: ----------------------------------------------- UNIX name DOS name Reason for the change ----------------------------------------------- thisisatest THISISAT file name too long file.stuff FILE.STU extension too long prn.txt XRN.TXT PRN is a device name .abc X.ABC null file name hot+cold HOTXCOLD illegal character ----------------------------------------------- RESTRICTIONS
You cannot use the mren command to move a file from one subdirectory to another. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mren: If set, this variable names the file that contains the name of the cur- rent mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: mcd(1), mtools(1) mren(1)
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy