I need to remove the entire file contents in file using the shell script.
Actually the grap -v command will create one more file and it occupy the space also.
I need to remove the entire file contents without creating new file using the shell scripting.
Please help me. (5 Replies)
Hi,
We have a non printable character "®" in our file , we want to remove this character, we tried tr -dc '' < oldfile> newfile but this command is removing all new line entries along with the non printable character and all the records are coming in one line(it is changing the format of the... (2 Replies)
I have file like below
Hi iam author <br>joseph</br> in france.
I live in my home <br></br> but no food.
I will play footbal <br></br> but i wont play cricket.
I will read all the books <br>all fiction stories</br> i hate horror stories.
I want output like below
Hi iam author... (3 Replies)
we all knew that .exe files are the executable file formats in windows....... Similarly, what are the executable file formats in solaris and linux ........
please tell me:D
Thanks in Advance. (2 Replies)
Hi All,
I am copying a file from windows to UNIX. After that copying it have the ctrl+M character in the file at the line break. But the file contains the data that also have ctrl+M. I want to re move the ctrl+M at the end of the line alone.
My file structure is XML and last line doesnt... (3 Replies)
Hi,
I want to check the incoming files whether the file is Mac file or dos/windows file in unix shell script.
Sometimes client is posting Mac file and sometimes it is dos file. Could you please help me how to determine/check whether the file is Mac or dos.
Help in advance
Thanks (4 Replies)
FYI,
I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc
I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places.
However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
cmatrix
CMatrix(1) General Commands Manual CMatrix(1)NAME
CMatrix - simulates the display from "The Matrix"
SYNOPSIS
cmatrix [-abBflohnsVx] [-u update] [-C color]
DESCRIPTION
Shows a scrolling 'Matrix' like screen in Linux
OPTIONS
-a Asynchronous scroll
-b Bold characters on
-B All bold characters (overrides -b)
-f Force the linux $TERM type to be on
-l Linux mode (sets "matrix.fnt" font in console)
-o Use old-style scrolling
-h, -? Print usage and exit
-n No bold characters (overrides -b and -B)
-s "Screensaver" mode, exits on first keystroke
-x X window mode, use if your xterm is using mtx.pcf
-V Print version information and exit
-u delay
Screen update delay 0 - 9, default 4
-C color
Use this color for matrix (default green). Valid colors are green, red, blue, white, yellow, cyan, magenta and black.
KEYSTROKES
The following keystrokes are available during execution (unavailable in -s mode)
a Toggle asynchronous scroll
b Random bold characters
B All bold characters
n Turn off bold characters
0-9 Adjust update speed
! @ # $ % ^ & )
Change the color of the matrix to the corresponding color: ! - red, @ - green, # - yellow, $ - blue, % - magenta, ^ - cyan, & -
white, ) - black.
q Quit the program
BUGS
This program is very CPU intensive. Don't be surprised if it eats up over 40% of your CPU at times.
HOMEPAGE
The CMatrix homepage is currently at http://www.asty.org/cmatrix.
AUTHORS
Chris Allegretta (chrisa@asty.org), with a lot of help from many other people. See README file for details.
Mon May 3 1999 CMatrix(1)