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

what is a solaris toolkit

1 Answers  


How to make SUN server as router in subnetwork?

0 Answers   ITC Infotech, JPMorgan Chase,


solaris network daemon

6 Answers   HP,


one guy asking how to grow disk size in SDS? what is SDS?

2 Answers   TCS,


how to search hide files

14 Answers   TCS,






When iam checking the services its showing unintialized then what should i do step by step.pls tell me the answer as soon as posible.

1 Answers   Wipro,


what is the back up software we r using in solaris 8,9,10

2 Answers  


How to create swap file

1 Answers  


Expalin soft link and hard link

8 Answers  


When user logging in which file will take place

1 Answers  


How can you create mount points in solaris?

11 Answers   Huawei,


in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?

3 Answers   Wipro,


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)