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.
Related
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.
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.
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.
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 would like to configure my environment variables in Ubuntu version and can't find my bashrc.
Where can I find it?
in your home dir, e.g. if you are larix, then it is located in:
/home/larix/.bashrc
You can see it from your filemanager if it shows "hidden" files (if file name starts with "." it is considered as "hidden" file in linux)
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
What is the use of creating a Hardlink and a softlink ? In what kind of scenarios do we create them ?
This has been discussed in length on sites that are more appropriate for this question.
When would creating a hard link be useful?
What is the difference between a soft (symbolic) link and a hard link?