01-15-2014
I do not think you can expect to edit a 70-megabyte file in vi.
If you just want to view it, try less filename
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to check whether file has EOL or NOEOL before opening this file in VI editor. My file is very big its in terms of 15-20 MB.
I am using ksh for this.
When we opened the file in vi editor, normally at last line we are able to see whether this is eol or noeol file. But i does want... (1 Reply)
Discussion started by: HariRaju
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
Does anyone know if this is a patch error or a real memory problem, its happening a lot and wanted to know what to expect if I reboot it.
prtdiag shows no errors.
the system is anetra running solaris9 5.9 Generic sun4u sparc SUNW,UltraSPARC-IIi-cEngine
Jan 5 15:23:39 t1 last message... (1 Reply)
Discussion started by: sun-days
1 Replies
3. AIX
Hi ,
I am working on AIX 5.3 server.I have small program which stores the from database to a particaular shared memory.But while retreiving the valus from the same shared memory, i am getting wrong values.
Please help..... (1 Reply)
Discussion started by: ajaysahoo
1 Replies
4. Programming
Hello All,
My application is followed J2ee architecture. It contains Java and jsp codes.
This application generates some reports in pdf format. I am using Weblogic 10.3 and jdk 6.
While I want to open the pdf in IE 6 with service pack 2 , the pdf not showing properly. It comes in byte code.... (3 Replies)
Discussion started by: priyankak
3 Replies
5. Shell Programming and Scripting
The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING or SHUTDOWN)
RESULT=""
sleep 30
while ; do
sleep 10
RESULT=`sed -n '/RUNNING/'p ${LOG_FILE_NEW}`
if ; then
RESULT=`sed -n '/SHUTTING_DOWN/'p ${LOG_FILE_NEW}`
fi
done
mv... (3 Replies)
Discussion started by: sonorous
3 Replies
6. Programming
Hi,
I have written a function which will open the file with the input name provided.Input name is in string format so while opening I am converting it using c_str().detail code below Plz let me know what is the wrong in code.
1 #include<iostream>
2 #include<fstream>
3 ... (4 Replies)
Discussion started by: forstudy3
4 Replies
7. Windows & DOS: Issues & Discussions
Hello,
I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance.
Here is my .bat file:
echo off
set... (9 Replies)
Discussion started by: starcraftbud
9 Replies
8. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
9. UNIX and Linux Applications
Anybody know a equivalent program similar to T-Search for Mac and Linux. T-Search allows a person to load a program and edit memory values. Many people use to it edited lives or scores on games etc... (1 Reply)
Discussion started by: codecaine
1 Replies
10. Shell Programming and Scripting
I created a shell with sed -i option. It is giving error - No such file or directory
Ex -
sed -i 's/yes/no' yes.txt
sed -i 's/why/where' yes.txt
sed -i 's/when/how' yes.txt
Error - :No such file or directory
When I run single line in my script say sed -i 's/yes/no' yes.txt... (10 Replies)
Discussion started by: yahoo
10 Replies
LEARN ABOUT SUNOS
gnome-desktop-item-edit
gnome-desktop-item-edit(1) User Commands gnome-desktop-item-edit(1)
NAME
gnome-desktop-item-edit - GNOME Desktop file editor
SYNOPSIS
gnome-desktop-item-edit [--create-new] filename
DESCRIPTION
gnome-desktop-item-edit is the GNOME Desktop file editor, which you can use to create or edit the .desktop (known as desktop) file. GNOME
uses a standard desktop file specification as proposed by freedesktop.org. A desktop file consists of a number of name-value pairs that
define how a desktop should organize a particular application. As this is defined as an open standard, integration of applications into
GNOME Desktop is relatively straightforward.
A basic entry in the desktop file must start with a tag called [Desktop Entry]. It can then have a number of name-value pairs as defined by
the standard. The minimum entries are as follows:
Name the name of the application
Comment a textual description of the application which is displayed as a tooltip message by gnome-panel. When set appropri-
ately, the comment can be localized within the same file.
Exec the name of the actual executable
Icon the file name of the icon image
Type the desktop file type
Categories a multi-string field which is used by gnome-panel to group applications into the appropriate categories.
These desktop files provide the information to gnome-panel, which places the application in the appropriate locations on the panel. In
a similar manner, the GNOME file manager (Nautilus) uses information from the desktop files to display the 'applications:///' view.
OPTIONS
The following options are supported:
--create-new Creates a new .desktop file.
OPERANDS
The following operands are supported:
filename The name of the desktop file to be edited or viewed.
EXAMPLES
Example 1: Editing an existing .desktop file
example% gnome-desktop-item-edit fullpath/filename
This command invokes the launcher dialog and loads the contents of the specified desktop file into the relevant fields.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-desktop-iExecutable for GNOME Desktop file editor
/usr/share/applications/Desktopofile
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-panel |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-panel(1), nautilus(1)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003.
SunOS 5.10 2 Oct 2003 gnome-desktop-item-edit(1)