Use cron jobs on Linux to automate repetitive tasks on Linux.
How to add a job to the crontab on Linux and automate a task.
How to add a job to the crontab on Linux and automate a task.
How to use the !! operator to perform a very nice bash shell trick. This is how to edit the last command in the history and edit a spelling mistake.
Add a user to the sudoers file on Linux easily If you need to add your user on a Linux system to the /etc/sudoers file, this is how to do it properly. I am adding a new UNIX user to my system. This user will have sudo access. jason@darkstar:~$ sudo adduser adler Adding user `adler’ … Read more
To change the full name and other information stored for a certain user, the chfn command will come in handy. This allows a system administrator to change the data with a simple command. In this example, I am changing the full name of a Linux user. root@darkstar:~# chfn -f "Jason Smith" jasonroot@darkstar:~# chfn -f "Jason … Read more
To add a new group to a Linux system, enter this command as root. root@neo:/home/jason# groupadd deptroot@neo:/home/jason# groupadd dept Then, create our new user with this command. root@neo:/home/jason# useradd -m -g dept -d /home/user -s /bin/bash userroot@neo:/home/jason# useradd -m -g dept -d /home/user -s /bin/bash user Now our user is a member of the dept … Read more
Adding a custom menu to Fluxbox is very easy, this is how. The default ~/.fluxbox/fluxbox-menu file looks like this, it reads the /etc/X11/fluxbox/fluxbox-menu file to create the root menu for Fluxbox. [begin] (fluxbox) [include] (/etc/X11/fluxbox/fluxbox-menu) [end][begin] (fluxbox) [include] (/etc/X11/fluxbox/fluxbox-menu) [end] But if you add a simple submenu to it like this, then you get … Read more