sudo passwd
sudo passwd -l root
adduser
LIST DISK | |
SELECT DISK 1 | |
CLEAN | |
CLEAN | |
CREATE PART PRI | |
SELECT PART 1 | |
ACTIVE | |
ASSIGN | |
FORMAT FS=NTFS QUICK | |
EXIT |
@echo off | |
set url=%1 | |
mode con cols=70 lines=1 | |
color 37 | |
::color 17 | |
:check | |
IF %url%. EQU . ( | |
set /P url=Host: | |
goto check | |
) |
#!/bin/bash | |
# @discription Installation script for lamp | |
# @author Mansour Yaacoubi | |
# @filename sethostname.sh | |
# @todos add better documentation, add support for other distributions | |
curhostname=$(hostname) | |
newhostname=$1 | |
################# CHECK WHETHER SCRIPT IS RUNNING AS ROOT ################# | |
# Run script as root to be able to install software like |
#!/bin/bash | |
# @discription Installation script for lamp | |
# @author Mansour Yaacoubi | |
# @filename install-lamp.sh | |
# @todos add better documentation, add support for other distributions, | |
# create light-version of this tool | |
# | |
# Copyright 2017 myblog | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); |
Start -> Run -> nslookup
set type=all
_ldap._tcp.dc._msdcs.yaacoubi.com
#!/bin/bash | |
# @author Mansour Yaacoubi | |
# @filename setbg.sh | |
# @version 2.3 | |
# @task Sets background in Ubuntu and some other Linux versions | |
# @feature When this script runs as superuser, | |
# the command 'setbg' can be installed into /bin directory | |
# @timestamp 15:53 12.06.2017 | |
# @usage ./setbg.sh wallpaper.jpg | |
# su $USER -c setbg.sh wallpaper.jpg |
fdisk
> Y
> 4
(List all partitions)1
> Y
(Create new partition)@echo off | |
powershell "Import-Module %~dp0GetProductKey.ps1; Get-WindowsKey" |