By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,729 Members | 1,122 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,729 IT Pros & Developers. It's quick & easy.

innittab file is currupted

P: 48
in linux there is a swap file generated while we open innittab file by this command :- vi etc/innittab then it is not open due to exist swap file . so please give the solution because i want to use this file and i need it in correct format .so please give solution.
Oct 16 '08 #1
Share this Question
Share on Google+
1 Reply

Nepomuk
Expert 2.5K+
P: 3,112
in linux there is a swap file generated while we open innittab file by this command :-
Expand|Select|Wrap|Line Numbers
  1. vi etc/innittab
then it is not open due to exist swap file . so please give the solution because i want to use this file and i need it in correct format .so please give solution.
Hi gaurav92K!
vi creates a temporary file, which in this case seemingly wasn't removed. In your case, that would be the file /etc/.innittab.swp. Just rename it with the command
Expand|Select|Wrap|Line Numbers
  1. mv /etc/.innittab.swp /etc/.innittab.swp_
and try editing your file again. It should work now. If it does, you can remove that old swap file /etc/innittab.swp_.

Greetings,
Nepomuk
Oct 16 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.