howto change parameter in vi to take tmp file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers howto change parameter in vi to take tmp file
# 1  
Old 03-29-2006
howto change parameter in vi to take tmp file

i have a problem running vi. there is no space in /var where it creates tmp file. How can I change this parameter so that it takes from other directory.

thanks
# 2  
Old 03-29-2006
start vi without any parameters.

then enter

Code:
:set directory=/some/new/dir

and then open your file

Code:
:e /my.big.file

# 3  
Old 03-29-2006
I am operating in AIX. Does tnis work in AIX.
# 4  
Old 03-29-2006
this does not work. the following is the problem.

vi test
"/var/tmp/Ex74996" No space left on device
# 5  
Old 03-29-2006
This is not related to the post, but you had better get someone to clean up the /var/tmp directory. Several utilities use that to create tmp files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Change value of a parameter in a file[solved]

I have a requirement to change the value of a parameter in a configuration file at a certain time before a particular script (python script) runs so that it outputs debug logs for the script. There are lots of other parameters in the file but i wnat to change only this particular parameter. ... (0 Replies)
Discussion started by: GosarJunk
0 Replies

2. Shell Programming and Scripting

How to change parameter of file?

Hi everyone , i have one data file in which data appears like below "a","b","c","d","e", "1","","2","","3" "3","","1","","5", "5","","5","","8" ... there are hundreds of record in that data file like this . now for corrosponding vale "e" there are three values 3,5,8 . Now i need... (5 Replies)
Discussion started by: aishsimplesweet
5 Replies

3. Shell Programming and Scripting

howto change format of file?

Hi I have a file with this inside: How can I change it to: thanks a lot regards Israel. (3 Replies)
Discussion started by: iga3725
3 Replies

4. Shell Programming and Scripting

HOWTO - change letter case of variable value

Hi I have e.g. VAR1=january and I need to change it into VAR1=January. How to change value of VAR1 variable to always set first character uppercase and other lowercase ? thx for help. (9 Replies)
Discussion started by: presul
9 Replies

5. HP-UX

[Solved] Howto change subdirectory easily using cd

Hi all, how to change the path easily from /u01/oracle/oradata/newdb/tab >cd olddb /u01/oracle/oradata/olddb/tab > or /u01/oracle/oradata/newdb/tab >cd u05 /u05/oracle/oradata/newdb/tab > I am lazy for typing the abs. path again... As I know there is some "tips" in doing this. ... (2 Replies)
Discussion started by: freddy1228
2 Replies

6. Solaris

How to change the Kernel parameter MAXDSIZE

Hi, How can I change the Kernel parameter MAXDSIZE??:confused::confused: Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies

7. Solaris

change permissons and owner for /tmp (swapfs)

Hi all, i've an Solaris 10 installation. The owner and permissions for /tmp is: # ls -l /tmp # rwxr-xr-x root root /tmp They should be (i've looked at a clean installation): # rwxrwxrwt root sys /tmp I've tried to change the permissons after booting from cd and mounting the root... (10 Replies)
Discussion started by: DukeNuke2
10 Replies

8. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

9. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

10. Shell Programming and Scripting

ksh parameter --- change

I am reading a file into a parameter in my program typeset nums_type if the contents of nums_type = asdfghbqwerty how do make a new paremeter eqaul to the 7th character of nums_type. like ${type} = b (2 Replies)
Discussion started by: frank
2 Replies
Login or Register to Ask a Question