Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Vi editor will not open new to UNIX. help please. Post 302794869 by dovestar on Wednesday 17th of April 2013 12:52:50 AM
Old 04-17-2013
This is the return I get when I cd $HOME and list the items.

ls -la
total 14
drwxr-xr-x 2 laura other 512 Apr 11 09:28 .
drwxr-xr-x 4 root root 512 Apr 9 16:59 ..
-rw------- 1 laura other 276 Apr 16 22:30 .bash_history
-rw-r--r-- 1 laura other 144 Apr 9 16:59 .profile
-rw-r--r-- 1 laura other 136 Apr 9 16:59 local.cshrc
-rw-r--r-- 1 laura other 157 Apr 9 16:59 local.login
-rw-r--r-- 1 laura other 174 Apr 9 16:59 local.profile
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to open files in VI editor

Hi, I unable to open any file using Vi editor,constantly getting the following error, vi log.log *** glibc detected *** malloc(): memory corruption: 0x081af510 ** uname -a Linux sekac092 2.6.5-7.244-bigsmp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 athlon i386 GNU/Linux Also Note ls... (8 Replies)
Discussion started by: ennstate
8 Replies

2. Shell Programming and Scripting

How to give permissions to an open file in vi editor?

Hi all, I have a shell script that i started editing, only in the midst of which i tried to save the changes i found that the file wasnt been provided with write/execute permissions. I later have redone the changes and saved the file- Just curious to know if there was any command wherein... (5 Replies)
Discussion started by: Pankajakshan
5 Replies

3. UNIX for Advanced & Expert Users

getting error when open vi editor

helo I install my product for koren language I m uisng RHEL -4 operating system now problem is whenever I open any file vi filename I got following error on the screen E557: Cannot open termcap file 'vt100' not known. Available builtin terminals are: builtin_ansi ... (1 Reply)
Discussion started by: amitpansuria
1 Replies

4. UNIX for Dummies Questions & Answers

How to open file in VI Editor at a specific line?

i have following query e.g i want the VI Editor cursor at line number N instead of 0 while opening the file from unix prompt. vi filename ?????? Can anyone help? (4 Replies)
Discussion started by: skyineyes
4 Replies

5. Shell Programming and Scripting

Not able to read .csv file until open in vi editor

Hi, I am facing a problem regarding .csv file, my script does not read .csv file and if i open this file in vi editor and perform :wq option then only my script reads the .csv file. Thanks (5 Replies)
Discussion started by: ranabhavish
5 Replies

6. UNIX for Beginners Questions & Answers

How to check if a file is open in editor?

Hi there! I'm developing a program that allows the user to open and edit files using both an editor and the terminal. Once the user has finished editing the file an update is sent to the logbook that compares the file before and after it was edited - this can only be done if the file is closed (I... (23 Replies)
Discussion started by: cherryTango
23 Replies
lgrp_root(3LGRP)					 Locality Group Library Functions					  lgrp_root(3LGRP)

NAME
lgrp_root - return root lgroup ID SYNOPSIS
cc [ flag ... ] file... -llgrp [ library ... ] #include <sys/lgrp_user.h> lgrp_id_t lgrp_root(lgrp_cookie_t cookie); DESCRIPTION
The lgrp_root() function returns the root lgroup ID. RETURN VALUES
Upon successful completion, lgrp_root() returns the lgroup ID of the root lgroup. ERRORS
The lgrp_root() function will fail if: EINVAL The cookie is not valid. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
lgrp_children(3LGRP), lgrp_init(3LGRP), lgrp_nlgrps(3LGRP), lgrp_parents(3LGRP), liblgrp(3LIB), attributes(5) SunOS 5.10 16 Apr 2003 lgrp_root(3LGRP)
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy