How Do You Change The Default Editor From Vi (Centos)?
Posted 26 November 2012 - 02:38 AM
Is there anyway to make it so that crontab -e brings up nano? Or a way to make it so that crontab isn't wiped when the server is reset?
Posted 26 November 2012 - 03:35 AM
My Ubuntu says that it'll use /usr/bin/editor as a fallback; some Googling suggests that's true for CentOS too.
This option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically.
 IIRC you can manually modify the crontab file so long as you restart/SIGHUP the cron daemon.
Edited by requinix, 26 November 2012 - 03:40 AM.
Posted 27 November 2012 - 01:01 AM
Every year I hope Google will come out with some super-advanced server OS but they never do.
I'm gonna go find my stupid bashrc file, which would be /etc/startup if Linux made any sense. Thanks for the help.
Posted 27 November 2012 - 01:35 AM
Posted 28 November 2012 - 06:25 AM
Set a variable in Window's (cmd) shell and see how long it lasts too. The issue seems to be between the keyboard and the chair.
If somethings truely advanced, shouldn't it be easy to use?
And if you make changes with msconfig, they don't revert. Crontab is a file, doesn't make sense it just disapears.
I guess between Windows and Android I'm just use to OS'es not being a hodgepodge of esoterical crap. I *could* learn it, but I'd much rather see it replaced with something well designed and user friendly. Logmein shows just how well remote desktoping can work - what I'd really love to see if a server OS that you could manage though a client app.
Guess as everything gets easier it just makes linux look worse. Open source sounds good in concept, but corperate software is really polished and user friendly lately... hell, anymore it's even becoming free.
Posted 28 November 2012 - 06:46 AM
EDIT: and really, the more granular the control you need over something becomes, the more complex it becomes to control.
Edited by Pikachu2000, 28 November 2012 - 06:48 AM.
Why $_SERVER['PHP_SELF'] is bad. || Why ORDER BY RAND() is bad || Every problem can be solved with rm -rf *
Posted 28 November 2012 - 06:50 AM
.bashrcfile (which is in your home folder, since it's yours, btw).
Same with Windows: If you use "set" in a CMD prompt to set an environment variable, it'll be lost when you close that prompt.
msconfigdoesn't enter the equation, as you're comparing apples to glass figurines.
What you have is a case of missing knowledge, which is not a fault of the OS. So I'd advice you, as trq did, to drop the hate and stop blaming the OS for your lack of knowledge.
PS: ssh is a client application, so is vi, nano, crontab and msconfig. Logmein, however, is a server and client application.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users