Call for enabling HP Pavilion internal softmodem
Have you managed to get the HP Pavilion internal softmodem to work?
Could you provide a tutorial on how to make it work?
Read the rest of “Call for enabling HP Pavilion internal softmodem” »
Have you managed to get the HP Pavilion internal softmodem to work?
Could you provide a tutorial on how to make it work?
Read the rest of “Call for enabling HP Pavilion internal softmodem” »
Restrictions:
if /etc/cron.allow exists only users listed within can access crontab
if it does not exists everybody can use crontab, as far as its name is not listed in /etc/cron.deny (1 user per line)
if this does not exist neither everybody can use crontab
Commands:
to specify the editor to be used
export EDITOR=pico
to edit the crontab list for the current user
crontab -e
to display the crontab list for the current user
crontab -l
to remove the crontab list for the current user
crontab -r
Syntax:
consists in 5 fields for specifying the period and the command to be run
* * * * * command args
[minutes 0-59] [hours 0-23] [day of month 1-31] [month 1-12] [day of week 0-6 sunday=0] [command] [args for the command]
each field is represented by an * and can be a:
- number
- number, number
- number-number (which means an interval)
*/n means “every n times” according to the position of the * (mins, hours, days…)
eg.
* * */1 * * updatedb
means “run updatedb every day”
email:
by default cron jobs send an email to the user account executing the cronjob. If not needed add at the end of the crontab command
> /dev/null 2>&1
logging:
if you need to log the program output simply add at the end of the command line
> /home/user/program.log
which is the path to the file log.
programs: nLite, cdimage (Microsoft), cdimage gui (beta3 by Cyberian)
- A -
Place the program shortcut into the Autorun folder in Start -> Programs
- B -
Create a key in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- C -
Run the program as a system service
create with regedit a folder in:
HKLM\system\controlset[n]\services\[servicename]
create a few keys of the following type:
displayname [reg_sz]
errorcontrol [dword]
image patch [expand_sz] - this one keeps the path to the exe
object name [reg_sz] - es. local system
start [dword]
type [dword]
- D -
Run the program as a Winlogon service
HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
modify the key
Shell [reg_sz] explorer.exe path_to_program2.exe
Although being much more conservative (and sound) than M$ Windows, also linux systems have several programs and services run at startup. Here is how you can manage, add and remove them.
Startup services scripts location is
(on Ubuntu,Debian,SuSE)
/etc/init.d/
(on RedHat,Fedora)
/etc/rc.d/init.d
you can manually act with those scripts:
sudo /etc/init.d/[script] start/stop/restart/force-reload
scripts managers:
on Ubuntu
System -> Administration -> Services
on Ubuntu,Debian
update-rc.d [daemon] defaults/remove
note: in order for the script to be added (defaults) it must be present in /etc/init.d, on the other hand for the script to be removed it must be delated/renamed from the same folder
on RedHat
redhat-config-services
on Fedora
system-config-services
other useful utilities to accomplish these tasks (installable via apt-get install are:
chkconfig
sysvconfig
bum
What is a Runlevel (Wikipedia)
on Ubuntu (being Debian based) starting from 6.10 (Edgy Eft) Upstart is used as a replacement for the traditional init-process. However traditional init scripts and Upstart’s SysV-rc compatibility tools are still used to start most services and emulate runlevels.
To change the currently running runlevel use
telinit [n]
to change the default runlevel edit
/etc/inittab
at the line ID:[n]:INITDEFAULT:
where [n] is the runlevel number
on Ubuntu (Debian) the following runlevels are used:
0 - Halt
1 - Single user (recovery/maintainance console)
2 - Full multi-user, with display manager as well as console logins
6 - Reboot
on RedHat there are some more:
0 - Halt
1 - Single user
2 - Full multi-user with no networking
3 - Full multi-user, console logins only
4 - Not used/User definable
5 - Full multi-user, with display manager as well as console logins
6 - Reboot
in order to ease work on the terminal shell linux enables you to set aliases of complex commands.
this can be done in different ways
- temporary
alias pico=’pico -w’
or alias pico=”pico -w”
- permanent
editing
$HOME/.bashrc
or $HOME/.bash_aliases
and write down the alias strings at the bottom ot the files
- to show up the current aliases
alias
or alias -p
this is how to use the find command to search for files on a time basis, i.e. to search for files more recent than a certain date or time
you can then use |grep [keyword] to filter the results