Hi there,
I hope someone can help me with this problem :
I have a directory (/var/www/file/imgprofil) which contains about 10000 JPG files. They have a naming convention thus :
prefix-date-key-suffix.jpg
they all have the prefix p-20050608-
then AAAA is a 4 letter code
the suffix is... (7 Replies)
Hi
I am accessing a file on nfs mounted device, after completing using of the file, i am tring to restore the access time and modification times of the file.
So i got the previous modified time of the file using stat() function and trying to set the date and time for the file, To set these... (6 Replies)
Hello,
say suppose i am processing an file emp.dat the field of which are
deptno empno empname etc
now say suppose i want to change the file to emp.lst then how can i do it? Here i what i attempted but in vain
BEGIN{
system("sort emp.dat > emp.lst")
FILENAME="emp.lst"
}
{
print... (2 Replies)
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Hi All,
Please help i have written an ksh script, where i am actually take count of lines in one file and want to update this count to 2nd field of a new file and apend the this into an existing file.
Note the below script is in for loop
-------- I am apending few records in a file... (7 Replies)
HI
I have 100 files in below folder:-
/home/lkj/TEST
File name like below
undo_ARL01003_120907-155022.mos
undo_ARL01006_120908-155042.mos
i want replace one first line of each file to pt all
i want change file name as below.
ARL01003.mos
ARL01006.mos
Thanks (2 Replies)
Hi,
I have a files in a directory as below :-
ls -1
mqdepth-S1STC02
proc-mq-S1STC01
proc-mq-S1STC02
proc-mq-S1STC03
Whereever i have S1STC i need to copy them into new file with file name S2STC.
expected output :-
ls -1
mqdepth-S2STC02
proc-mq-S2STC01
proc-mq-S2STC02... (3 Replies)
I have a bunch of file numbers in the file 'test':
I'm trying the above command to change all the instances of "H" to "Na+" in the file testsds.pdb at the line numbers indicated in the file 'test'. I've tried the following and various similar alternatives but nothing is working:
cat test |... (3 Replies)
Hi,
I have a file which has wrong time format and we want to correct it before we load it.
WRONG FORMAT : 93:0:00
CORRECT FORMAT :09:30:00
If you notice the 0 at the front is missing. Its the case always. (6 Replies)
I have a log file, which i have divided into 14 files using csplit, the file looks like below
test-000000
test-000001 #and so on until 14
now I want all the 14 files generated to be renamed as the some part of test in first line of the file how can i eliminate the unwanted text?
sample... (5 Replies)
Discussion started by: Sekhar419
5 Replies
LEARN ABOUT SUSE
mcview
MCVIEW(1) GNU Midnight Commander MCVIEW(1)NAME
mcview - Internal file viewer of GNU Midnight Commander.
USAGE
mcview [-bcCdfhstVx?] file
DESCRIPTION
mcview is a link to mc, the main GNU Midnight Commander executable. Executing GNU Midnight Commander under this name requests staring the
internal viewer and opening the file specified on the command line.
OPTIONS -b Force black and white display.
-c Force color mode on terminals where mcview defaults to black and white.
-C <keyword>=<FGcolor>,<BGcolor>:<keyword>= ...
Specify a different color set. See the Colors section in mc(1) for more information.
-d Disable mouse support.
-f Display the compiled-in search paths for Midnight Commander files.
-t Used only if the code was compiled with S-Lang and terminfo: it makes the Midnight Commander use the value of the TERMCAP variable
for the terminal information instead of the information on the system wide terminal database
-V Displays the version of the program.
-x Forces xterm mode. Used when running on xterm-capable terminals (two screen modes, and able to send mouse escape sequences).
COLORS
The default colors may be changed by appending to the MC_COLOR_TABLE environment variable. Foreground and background colors pairs may be
specified for example with:
MC_COLOR_TABLE="$MC_COLOR_TABLE:
normal=lightgray,black:
selected=black,green"
FILES
/usr/share/mc/mc.hlp
The help file for the program.
/usr/share/mc/mc.ini
The default system-wide setup for GNU Midnight Commander, used only if the user's own ~/.mc/ini file is missing.
/usr/share/mc/mc.lib
Global settings for the Midnight Commander. Settings in this file affect all users, whether they have ~/.mc/ini or not.
$HOME/.mc/ini
User's own setup. If this file is present, the setup is loaded from here instead of the system-wide startup file.
LICENSE
This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation. See the built-
in help of the Midnight Commander for details on the License and the lack of warranty.
AVAILABILITY
The latest version of this program can be found at ftp://ftp.gnu.org/gnu/mc/.
SEE ALSO mc(1), mcedit(1)BUGS
Bugs should be reported to mc-devel@gnome.org
MC Version 4.6.2-pre1 September 2007 MCVIEW(1)