How to create a zip file on Ubuntu with the command line.
How to create a zip file on Ubuntu easily with the terminal.
Read MoreHow to create a zip file on Ubuntu easily with the terminal.
Read MoreHow to create a new partition on a HDD with fdisk.
Read MoreGenerate an Arma 3 terrain easily with a very nice tool. This really works well.
Read MoreThis simple command-line will create a new user on Linux named test5. ┌──[[email protected]]─[~] └──╼ ╼ $ sudo useradd test5 -m -K PASS_MAX_DAYS=5 -K PASS_WARN_AGE=3 -K LOGIN_RETRIES=1┌──[[email protected]]─[~] └──╼ ╼ $ sudo useradd test5 -m -K PASS_MAX_DAYS=5 -K PASS_WARN_AGE=3 -K LOGIN_RETRIES=1 Then set a password for the new user. ┌──[[email protected]]─[~] └──╼ ╼…
Read MoreIt is apparently possible to create a file named ., this will make the file unusable, but it is still very cool. I used this simple command. strace touch ‘.’strace touch ‘.’ Type a dot character “.”, then press Control-Shift-u and type 200b and then press ENTER, this will create…
Read MoreCreating a ram drive on a Linux box is very useful for storing files in a temporary fashion, and having some very fast scratch space for an application. The ramfs filesystem type may be used, but it will continue to grow until your RAM is used up. The tmpfs filesystem…
Read MoreCreate a new user on Linux with the command line Fairlight CMI media workstation with 5 1/4 inch drives. Creating a new user on Linux with the command line is very easy. Just use the useradd command and this will be accomplished very easily. Use this command to create a…
Read MoreCreating a .Xmodmap file for Linux is very easy. This file contains all of the keyboard mappings for the keyboard keys for your system. jason@darknet:~$ xmodmap -pke > ~/.Xmodmapjason@darknet:~$ xmodmap -pke > ~/.Xmodmap Now use less to view the completed file. jason@darknet:~$ cat .Xmodmapjason@darknet:~$ cat .Xmodmap This file can be…
Read MoreCreating an ISO image of a directory is useful sometimes. This command will create an ISO image of a directory, ready to burn to a CD or DVD. jason@darknet:~$ genisoimage -l -V hi -r ~/Downloads/stuff > cdrom.isojason@darknet:~$ genisoimage -l -V hi -r ~/Downloads/stuff > cdrom.iso Here is example usage, creating…
Read MoreThis simple script will help create new user accounts on a Linux system. This is very useful when administering a Linux machine and it is necessary to create a few user accounts. #!/bin/bash clear trap "" SIGHUP SIGINT SIGTERM SIGTSTP # Get username, check if its taken,…
Read MoreThis bash shell script is useful for creating a new user and setting a password for that user. This allows you to just type a username and password and everything else is done for you. Very useful for someone who is in a hurry. #!/bin/bash echo "Type a username…
Read MoreThe /g/ wiki has a good guide for creating webm video clips from your existing video content using ffmpeg. This is not very difficult and allows you to post the completed videos on your website. Firefox and Iceweasel have native support for the webm format; this is an easy way…
Read MoreThe qemu KVM hypervisor allows a Linux user to install a virtualized operating system that will run very fast indeed once installed. To install the qemu KVM hypervisor; enter this command. sudo apt-get install qemu-kvm qemu-utilssudo apt-get install qemu-kvm qemu-utils Then create a raw disk image to house your Windows…
Read MoreThe tar command on Linux is very useful for uncompressing files on your Linux machine. The most used command on a Linux system is uncompressing files that you have downloaded from an Internet source. The tar -xvf command will uncompress a tar.gz file. ~$ tar -xvf myfile.tar.gz~$ tar -xvf myfile.tar.gz…
Read More