Where crontab -e saves data? [closed] - cron

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Where cron file for user and for root is saved after executing
crontab -e
and saving data?

/var/spool/cron/username
Use su to access the file.

Each user can have their own crontab, and these files are in /var.

Related

How to edit the "File Management Preferences" via command line in Centos Desktop [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
is it possible to edit the
File Management Preferences
via vi or something ?
No, but it is possible with gconftool-2. Just frob the values under /apps/nautilus; look in gconf-editor for details.

Adding a cron job without crontab [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
The community reviewed whether to reopen this question 4 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is it possible to add a cronjob without using the crontab command? (Or anything else except editing files directly.) Is there a file I need to edit?
You can directly edit the following files:
/etc/crontab
/etc/cron.d/*
/etc/cron.{hourly,daily,weekly,monthly}/*
These are system-wide files. In these files you must specify a username before the command to be executed.
In contrast, per-user crontabs are stored here:
/var/spool/cron/<username>

How to lock my monitor with command in linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to lock my desktop with a shell command. How can I do this?
What desktop environment are you using?
Using GNOME:
gnome-screensaver-command -l
Using KDE:
qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock
Using xfce:
xflock4
if you have xscreensaver installer this will work:
xscreensaver -lock
Other then that it is depending on which DE you have.

Gentoo Linux global environments for root [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm confused with setting variables in /etc/env.d directory. When I write echo $PATH from user - it's print me all variables that set it myself. But from root I see one... Where should I set variables for root?
You should set ROOTPATH instead of PATH in your /etc/env.d/* files.

Reinstall Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I have a question.
I have partition for home with directory "abc". So /home/abc
If I will reinstall Ubuntu and create the same user "abc" my data will be OK? Will this folder be cleared and created again?
https://askubuntu.com/search?q=reinstall+home
Thanks #bobince, if it is a SEPARATE partition, no problem. If you are trying to install over that partition it is going to get wiped.

Resources