Categories
Linux

Use Ubuntu terminal: complete list of linux commands

How to use the Terminal in Ubuntu

https://help.ubuntu.com/community/UsingTheTerminal

Categories
Linux

Linux command line- How to know which Linux distribution/ linux version you are using

How to know which Linux distribution or Linux version you are using from command line?

Categories
Linux

Linux command line- how to set root password in Ubuntu 12.04 LTS version

Read this article and use the Linux shell commands from a terminal window & know how to set the root password in Ubuntu 12.04 LTS version from command line. After setting the password for ROOT user in Ubuntu cross check it.

Categories
Linux

Linux command line- list of active users, su, sudo & gksu

Linux command- Get list of users in Ubuntu (v. 12.04 LTS). Open a terminal and type this command –
$ cat /etc/passwd

Also you can use these commands  to view the output as pagewise

$ less /etc/passwd
$
more /etc/passwd”

Categories
Linux

How to make partitions for a new linux O.S installation (Ubuntu, Fedora)

For Non GPT Disks: Strategy on partitioning a Linux system. The simplest partitioning scheme, on a non-GPT disk, is simply use a root partition and a swap partition.

For GPT type Disks:  You should add a BIOS-Boot or an EFI partition depending on the boot mode of your BIOS.

GPT type Disks can be checked via the “sudo parted -l” command)

Categories
PHP Tutorials

PHP Syntax- heredoc, string, variables and constants, logical operators

PHP Tutorial- Chapter 1 (PHP Syntax)

How to use HEREDOC in PHP with examples, also use easy to use examples in PHP for declaring variables, constants. Also know which tags you can use in PHP script to write PHP code in it.