Is it possible to edit the corntab using vi

Answers were Sorted based on User's Feedback



Is it possible to edit the corntab using vi..

Answer / sbrahman75

It is not recommended but it is possible by editing

# vi /var/spool/cron/crontabs/root

The command to edit the crontab is

#crontab -e

Is This Answer Correct ?    4 Yes 3 No

Is it possible to edit the corntab using vi..

Answer / baskar

The command to edit the crontab is
#crontab -e
Check that the EDITOR variable is set to the editor you want
to use. This instructs the cron utility to use to open the file.
#EDITOR=vi
#export EDITOR
now you can use crontab -e to edit the crontab

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Solaris Commands Interview Questions

How to add a tape deck on Sun Solaris version 10

2 Answers  


How will you verify the disk and how many field will be there.

2 Answers  


How to change the hostname and Ethernet address in single command

2 Answers  


How to remove the volume

1 Answers  


What is the difference between the VERITAS 3.0 and VERITAS 4.0?

2 Answers  






IS THERE ANY WAY TO TAKE GOST BACKUP

1 Answers  


If the boot block is failed then how can you recover in VxVm?

1 Answers   Thomson Reuters,


What are printer daemon

2 Answers  


How can u make file system of 65 GB if u get new disk of 80 GB? (U have to fix the disk and make the file system of 65 GB)

2 Answers  


solaris kernel name

7 Answers   HP,


How do you add the disk without reboot the server?

2 Answers  


Security point of view,What's there in NIS+ than NIS?

3 Answers   Locuz,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)