All about Information Technology!

create

Schedule tasks

Schedule a task that runs every time the system starts schtasks /create /tn <TaskName> /tr <TaskRun> /sc onstart Schedule a task that runs when user logs on schtasks /create /tn <TaskName> /tr <TaskRun> /sc onlogon Schedule a task that runs when the system is idle schtasks /create /tn <TaskName> /tr <TaskRun> /sc onidle /i {1 [...]

>>

, , ,

Create Soft and Hard Symbolic Links in Windows

Open Command Line with administrative rights To create a symbolic link, we need to enter the following in command prompt: MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. [...]

>>

, , , ,

Create event from command line in Windows

Using eventcreate command you can create a custom event and log it in any of the event log files(System, Application). Usage: eventcreate /id event_id /d event_description /t event_type /l event_log_file /s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain [...]

>>

, , , ,

How to create a basic configuration on a Fortigate

Let’s see some useful command on a fortigate firewall. Assuming that you have a Fortinet Fortigate device, your local ip address is in the range of 192.168.200.0/24 and you have a router with a public IP address 185.186.187.1 and a public subnet 185.186.187.0/29. config system global # Set the http admin port to 80/tcp set [...]

>>

, , , , ,

How to properly create a svn tag from trunk

Create svn tag from trunk svn + ssh svn copy svn+ssh://username@server.com/myproj/trunk \ svn+ssh://username@server.com/myproj/tags/1.0 -m "Release 1.0" svn + http svn copy http://svn.server.com/myproj/trunk \ http://svn.server.com/myproj/tags/1.0 -m "Release 1.0"

>>

, , ,

Create your own online radio stream in Ubuntu

Installation sudo apt-get install icecast2 sudo apt-get install ices2 Ices2 installation ask you to join DecNet choose the third choise to skip configuration. Icecast Configuration Open a terminal window and issue the following command: sudo gedit /etc/icecast2/icecast.xml   We are going to change the source and the admin password. Locate authentication section (‹authentication›) in xml [...]

>>

, , , , ,

Create Backup in Windows using WbAdmin

There is a great tool in Windows to make backups, create scheduled backups and more. It’s name is WbAdmin. For example: To perform a backup of  c:\dir1 to volume d:   wbadmin start backup –backupTarget:d: -include:c\dir1 –systemstate -vsscopy

>>

, , ,

How to add a linux user

To add a new user in your linux system (useradd): who belongs to users group (-gusers), with password of xxxxxxxx (-pxxxxxxxx), which has a home directory (-d/home/vanesa -m), and her login name is vanesa (vanesa): useradd -gusers -pxxxxxxxx -d/home/vanesa -m vanesa   IMPORTANT! The command above needs administrative rights!

>>

, , , , , , , , ,