04-04-2007
thanks for nathan
thank for nathan giving me simple commands and helping me
also from the reply of msororaji i conclude that any linux
user is not using more than 1 hd. that is all
3 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I got this message during the reboot process of a Sco Open Server 5 machine:
prc_sync: Script (s90atlas) failed to complete in 120 seconds
After that, the server rebooted normally, BUT, ftp into that server takes a lot of time to get connected. Another thing is that pinging another outside... (1 Reply)
Discussion started by: BAM
1 Replies
2. Shell Programming and Scripting
Hello ,
I'm trying to split a file which contains a single very long line.
My aim is to split this single line each 120 characters.
I tried with the sed command :
`cat ${MYPATH}/${FILE}|sed -e :a -e 's/^.\{1,120\}$/&\n/;ta' >{MYPATH}/${DEST}`
but when I wc -l the destination file it is... (2 Replies)
Discussion started by: jerome_1664
2 Replies
3. AIX
I have acquired a 43p 120 (7248-120) and I have two questions:
Can anyone remember what is the highest version of AIX which I can install (5.1 I believe)
and
Can anyone remember how to boot this from the CDROM (boot floppy?) (1 Reply)
Discussion started by: johnf
1 Replies
LEARN ABOUT CENTOS
rename
RENAME(1) User Commands RENAME(1)
NAME
rename - rename files
SYNOPSIS
rename [options] expression replacement file...
DESCRIPTION
rename will rename the specified files by replacing the first occurrence of expression in their name by replacement.
OPTIONS
-v, --verbose
Give visual feedback which files where renamed, if any.
-V, --version
Display version information and exit.
-s, --symlink
Peform rename on symlink target
-h, --help
Display help text and exit.
EXAMPLES
Given the files foo1, ..., foo9, foo10, ..., foo278, the commands
rename foo foo0 foo?
rename foo foo0 foo??
will turn them into foo001, ..., foo009, foo010, ..., foo278. And
rename .htm .html *.htm
will fix the extension of your html files.
WARNING
The renaming has no safeguards. If the user has permission to rewrite file names, the command will perform the action without any ques-
tions. For example, the result can be quite drastic when the command is run as root in the /lib directory. Always make a backup before
running the command, unless you truly know what you are doing.
SEE ALSO
mmv(1), mv(1)
AVAILABILITY
The rename command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2011 RENAME(1)