How to create users in Linux with the generical useradd command

The useradd command is generical for all the Linux distros: Syntax: useradd [options] username Creating users with the default configuration: $ sudo useradd yoda $ grep yoda /etc/passwd yoda:x:1010:1012::/home/yoda:/bin/sh To view the default options for creating users, use useradd -D

The Linux cp command: with practical examples

In this tutorial, I will teach you how to copy files and folders from one place to another, by using the cp command. Syntax1: cp [options] file filecopy Syntax2: cp [options] -T filecopy fileĀ  I always use the first syntax

The ultimate guide for displaying directory structures in Linux / FreeBSD

Sometimes you don’t need to display only a directory’s content, but also the directory hierarchy, in order to see all the files paths. In Linux / Unix you can do that the command tree. It displays the output in a

The Linux LS command: with practical examples

ls is used a lot by the Unix users. The two letter command is very powerfull, when combined with the right optins or wildcards. In this article I will use practical examples followed by explanations, so that it will be



Subscribe to get the latest Linux news and how to guides directly on your e-mail!