How to rename *cfg-sample to *cfg?


#1

[root@localhost etc]# ls -l
total 116
-rw-rw-r-- 1 nagios nagios 30046 Jul 28 23:20 bigger.cfg-sample
-rw-rw-r-- 1 nagios nagios 9580 Jul 28 23:20 cgi.cfg-sample
-rw-rw-r-- 1 nagios nagios 4475 Jul 28 23:20 checkcommands.cfg-sample
-rw-rw-r-- 1 nagios nagios 13594 Jul 28 23:20 minimal.cfg-sample
-rw-rw-r-- 1 nagios nagios 4289 Jul 28 23:20 misccommands.cfg-sample
-rw-rw-r-- 1 nagios nagios 30782 Jul 28 23:20 nagios.cfg-sample
-rw-rw---- 1 nagios nagios 1335 Jul 28 23:20 resource.cfg-sample
drwxr-xr-x 2 root root 4096 Jul 28 23:48 sample
[root@localhost etc]#


Minquan


#2

man mv


#3

Ouch. Just out of curiousity, is this going to be used for production and are you the linux guru there?


#4

I am a jackaroo!