How to create a zip file on Ubuntu with the command line.
How to create a zip file on Ubuntu easily with the terminal.
How to create a zip file on Ubuntu easily with the terminal.
How to create a new partition on a HDD with fdisk.
Generate an Arma 3 terrain easily with a very nice tool. This really works well.
This 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]]─[~] └──╼ ╼ $ sudo passwd test5 New … Read more
It 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 a zero-width invisible character. Then … Read more
Creating 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 type, does not have this … Read more
Create 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 new user account. ubuntu ~ … Read more
Creating 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 edited if you wish to … Read more
Creating 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 an ISO of a directory … Read more
This 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, and if it is the … Read more
This 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 for your new account: " … Read more
The /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 for you to post video … Read more
The 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 operating system. qemu-img create -f … Read more
The 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 To uncompress a tar.bz2 file … Read more