To show the list of cron jobs you can run crontab -l, which only shows the cronjobs of the current user. To list all cronjobs for all users you can write a bash script and run it as superuser:
#!/bin/bash
#List all cron jobs for all users
for user in `cat /etc/passwd | cut -d":" -f1`;
do
crontab -l -u $user;
done
Site refer: http://www.linux-faqs.info/bash/list-all-cron-jobs-for-all-users
Thank...
[HOW TO] remove Java environment on Ubuntu/ Linux
On computer I installed Java 6 update 45 as default java environment. But ... one day you have to uninstall . Do you know the method to do?
Below step could be done like this:
#update-alternatives --remove "java" "/usr/lib/jvm/jre-6u45/bin/java"
#update-alternatives --remove "javac" "/usr/lib/jvm/jre-6u45/bin/javac"
#update-alternatives --remove "javaws" "/usr/lib/jvm/jre-6u45/bin/javaws"
Thank...
[HOW TO] install Subversion/ Subclipse/ Eclipse Luna on Ubuntu
Install Subversion/ Subclipse for Eclipse Luna on Ubuntu
1. Download Eclipse here. Move it to /opt in case of me. Now I have /opt/eclipse-luna/
2. Install Java
3. Extract Eclipse Luna archive file.
4. Create a launcher shortcut for Eclipse Luna
vi /usr/share/applications/eclipse.desktop
Paste below content into:
[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated...
[HOW TO] disable Print Screen on Windows
1. Disable Print Screen
Create a *.reg:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,00,00,2a,e0,00,00,37,e0,\
00,00,54,00,00,00,00,00
Save as disable_print.reg and then run it to import to Windows registry. Reboot the computer to apply.
2. Enable Print Screen
Create a *.reg
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard...
[HOW TO] disable/ remove Remote Desktop on Windows 7?
How to disable/ remove Remote Desktop on Windows 7?
Using Group Policy
1. Click Start, click Run, type gpedit.msc, and then click OK
2. In the Group Policy editor, click to expand Computer Configuration, click to expand Administrative Templates, click to expand Windows Components, and then click to expand Terminal Services
3. Double-click the Allow users to connect remotely using Terminal Services...
[HOW TO] add user to sudoes | sudoes files | grant user to sudo permission
Yesterday, a new member asked me that he must root permission to active do something on his computer.
A few second, I saw he is right. He is a technical engineer.
I add his user to /etc/sudoes files as below:
#User privilege specification
root ALL = (ALL) ALL
his_user ALL = (ALL) ALL
with above, he still need to type the root's password to authenticate.
#User privilege specification
root...
[HOW TO] fix Setup cannot continue because a more recent version of Internet Explorer is installed on your computer | Internet Explorer Did Not Finish Installing
Today the manager & boy-co-worker is going to Can Tho. Western girl welcome "baby" :)Bull-shit!I have just installed Internet Explorer 10 to Windows 7 64bit. Opps, I got the error pop-up: Setup cannot continue because a more recent version of Internet Explorer is installed on your computerInternet Explorer Did Not Finish Installing
Two above error are the same problem. IE could not install. How...
[HOW TO] install Developement Tools RedHat, Debian
Sometimes you could not install application. The cause is missing dependencies package.
This article will be guide to install "Development Tools": [root@tecmint Downloads]# yum groupinstall "Development tools" [On RedHat Systems]
root@tecmint:~# apt-get install build-essential [On Debian Systems] To check kernel header:[root@tecmint Downloads]# rpm -qa | grep kernel-headers [On RedHat systems]
root@tecmint:~#...
[HOW TO] start/stop/status ssh on systemd (fedora desktop 21) systemd
What is systemd? please refer here
I think you can confused. Systemd is a latest manage system of Linux.
In this article, I show you overview how to manage ssh on systemd.
Status:
[root@201407COM0047 itien]# systemctl status sshd● sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled) Active: active (running) since Thu 2015-04-09...