12-04-2006
Editing a large size file
I would like to edit a doc which is large file size. I can't use "vi" command due to out of memory.
$ vi large.dat
ex: 0602-101 Out of memory saving lines for undo.
Please help. Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We have EDP members will do some testing job in my system , but sometimes these process will generate some error to the system log or any file ( usually the members don't know the log is reached to this level ) , then make the system crashed , could suggest the way how can to prevent this problem ?... (2 Replies)
Discussion started by: ust
2 Replies
2. Filesystems, Disks and Memory
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
3. Shell Programming and Scripting
Hi,
I have a large file with a repeating pattern in it. Now i want the file split into the block of patterns with a specified no. of lines in each file.
i.e. The file is like
1...
2...
2...
3...
1...
2...
3...
1...
2...
2...
2...
2...
2...
3...
where 1 is the start of the block... (5 Replies)
Discussion started by: sudhamacs
5 Replies
4. Shell Programming and Scripting
Hi
I am new to shell scripting.I want to create a batch file which creates a desired number of files with a specific size say 1MB each to consume space.How can i go about it using for loop /any other loop condition using shell script?
Thanks (3 Replies)
Discussion started by: swatideswal
3 Replies
5. Programming
I've only been using Linux for a few months, so I'm just looking for general suggestions here. I use gedit in Linux and notepad/Crimson Editor in Windows for single-file solutions, but for projects with many files spanning several directories I'd like a program similar to MS's Visual Studio. At... (5 Replies)
Discussion started by: CRGreathouse
5 Replies
6. UNIX for Advanced & Expert Users
We're running Solaris 7 on FDDI n/w on an E6500 host and wish to use MTU (packet size) > 1500, more like 3072 bytes to begin with and possibly up to 4096 bytes.
Linux has /etc/network/interfaces. Does ANYONE remember the equivalent in Unix? When I do ifconfig eth0 mtu 4000, I get the error... (0 Replies)
Discussion started by: sharique
0 Replies
7. Solaris
Greetings, I'm stuck in a time warp using ancient machines from the prehistoric era that should be rightfully displayed in the Smithsonian.
We're running Solaris 7 on FDDI n/w on an E6500 host and wish to use MTU (packet size) > 1500, more like 3072 bytes to begin with and possibly up to 4096... (9 Replies)
Discussion started by: sharique
9 Replies
8. Red Hat
Hi,
I've some directory that I used as working directory for a program. At the end of the procedure, the content is deleted. This directory, when I do a ls -l, appears to still take up some space. After a little research, I've seen on a another board of this forum that it's not really taking... (5 Replies)
Discussion started by: bdx
5 Replies
9. Shell Programming and Scripting
Hi All,
This is my first post here. Hoping to share and gain knowledge from this great forum !!!!
I've scanned this forum before posting my problem here, but I'm afraid I couldn't find any thread that addresses this exact problem.
I'm trying to split a large XML file (with multiple tag... (7 Replies)
Discussion started by: Aviktheory11
7 Replies
10. Shell Programming and Scripting
Hi,
I wrote a shell script, which let me manage dns records through an api.
The raw core-command looks like about this:
output="$(curl -X GET https://mgt.myserver.de:8081/api/v1/servers/localhost/zones)"The output contains a list of all zones with all records and is about 800 Kilobytes... (9 Replies)
Discussion started by: stomp
9 Replies
LEARN ABOUT SUNOS
mount_xmemfs
mount_xmemfs(1M) System Administration Commands mount_xmemfs(1M)
NAME
mount_xmemfs - mount xmemfs file systems
SYNOPSIS
mount -F xmemfs [generic_options] -o[largebsize,]size=sz [-O] special mount_point
DESCRIPTION
xmemfs is an extended memory file system which provides file system semantics to manage and access large amounts of physical memory which
can exceed 4 GB in size.
mount attaches a xmemfs file system to the file system hierarchy at the pathname location mount_point, which must already exist. If
mount_point has any contents prior to the mount operation, these remain hidden until the file system is once again unmounted. The
attributes (mode, owner, and group) of the root of the xmemfs filesystem are inherited from the underlying mount_point, provided that
those attributes are determinable. If not, the root's attributes are set to their default values.
The special argument is not currently used by xmemfs but a placeholder, (such as xmem), needs to be specified nevertheless.
OPTIONS
See mount(1M) for the list of supported generic_options.
-ospecific_options Specify xmemfs file system specific options in a comma-separated list with no intervening spaces. If invalid
options are specified, a warning message is printed and the invalid options are ignored.
The size=sz specific option is required.
The following options are available:
size=sz The sz argument specifies the desired size of this particular xmemfs file system. If the sz argu-
ment has a k suffix, the number is interpreted as kilobytes. An m suffix is interpreted as
megabytes and g is interpreted as gigabytes. A sz specified with no suffix is interpreted as bytes.
In all cases, the actual size of the file system is the number of bytes specified, rounded up to
the physical pagesize of the system or to the large page size if largebsize is specified.
This specific_option is required.
largebsize If largebsize is specified, xmemfs uses the large memory page size as the file system block size.
On IA32, the large memory page size with mmu36 which supports PAE (Physical Address Extension) is 2
MB. The large memory page size without mmu36/PAE is 4 MB. If there is no large page support, the
file system block size is PAGESIZE.
-O Overlay mount. Allow the file system to be mounted over an existing mount point, making the underlying file system
inaccessible. If a mount is attempted on a pre-existing mount point without setting this flag, the mount fails,
producing the error device busy.
FILES
/etc/mnttab table of mounted file systems
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Architecture |i386 |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
mount(1M), mount(2), mkdir(2), open(2), umount(2), mnttab(4), attributes(5),xmemfs(7FS)
NOTES
If the directory on which a file system is to be mounted is a symbolic link, the file system is mounted on the directory to which the sym-
bolic link refers, rather than on top of the symbolic link itself.
The only file types allowed on xmemfs are directories and regular files. The execution of object files resident in xmemfs is not supported.
Execution is prevented by not allowing users to set execute permissions on regular files.
SunOS 5.10 27 May 1999 mount_xmemfs(1M)