Posts

Basic Commands to Copy, Move, rename, remove files and Directories with Linux.

Image
 How to Copy, Move, Rename Remove files and Directories Copying files into Directories cp <source filename> <destination directory in which to paste the file> eg. cp Cent Downloads Copying Directories from one location to another cp -rvfp <filename> <destination name> eg. cp -rvfp gyani1 gyani2 Moving files from one location to another mv <filename> <Destination directory> eg. mv Cent gyani2 Moving a directory from one location to another mv <directory name> <destination dir name> eg. mv gyani2 gyani1 Renaming a file mv <old name> <new name> eg. mv Cent Centos Renaming a Directory     The procedure and command for renaming the directory is the same as renaming a file                    mv <old name> <new name>                eg. mv gyani2 gyani4 Removing a File rm <filename> or rm -f <filename> eg. rm cent Removing an empty directory rmdir <directory name> eg. rmdir gyani2 Removing a directory wi

Comparing Oppo K10 5G vs OnePlus Nord CE 2 Lite 5G

Image
Oppo K10 5G vs OnePlus Nord CE 2 Lite 5G Specification Oppo K10 5G OnePlus Nord CE 2 Lite 5G LAUNCH Announced 2022, June 01 2022, April 28 Status Available. Released 2022, June 10 Available. Released 2022, April 30 BODY Dimensions 163.8 x 75.1 x 8 mm (6.45 x 2.96 x 0.31 in) 164.3 x 75.6 x 8.5 mm (6.47 x 2.98 x 0.33 in) Colors Ocean Blue, Midnight Black Black Dusk, Blue Tide Weight 190 g (6.70 oz) 195 g (6.88 oz) Build Glass front, plastic frame, plastic back Glass front, plastic frame, plastic back SIM Dual SIM (Nano-SIM, dual stand-by) Dual SIM (Nano-SIM, dual stand-by) NETWORK Technology GSM / HSPA / LTE / 5G GSM / HSPA / LTE / 5G DISPLAY Type IPS LCD, 90Hz, 480 nits (typ), 600 nits (HBM) IPS LCD, 120Hz Size 6.56 inches, 103.4 cm2 (~84.0% screen-to-body ratio) 6.59 inches, 104.5 cm2 (~84.1% screen-to-body ratio) Resolution 720 x 1612 pixels, 20:9 ratio (~269 ppi density) 1080 x 2412 pixels, 20:9 ratio (~401 ppi density) PLATFORM OS Android 12, ColorOS 12.1 Android 12, OxygenOS 12.1 C

Basic Commands to Create files and Directories with Linux.

Image
How to Create Files and Directories Creating a file in Linux (Terminal) Using Cat Commands cat (Concatenate) command is used to create a file and to display and modify the contents of a file To Create a file                 cat > filename (eg: gyani)                    Welcome to Get Gyan Tech Blogger                     Hope all are doing good.              Ctrl+d (to save the file) To display the content of the file                 cat filename (eg: gyani)                 To append the data to the existing file                 cat >> filename (eg: gyani)                              Today we will learn about                         Basic Commands                     ctrl +d (to save the file) To Create multiple files at the same time using touch commands                         touch <filename> <filename> <filename>                         touch gyani1 gyani2 gyani3     Note: To check the file use the ls command Creating a directory in Linux (Terminal)   

Linux Filesystem Hierarchy

Image
  Linux Uses Single Rooted, inverted tree-like file system hierarchy / This is a top level directory It is a parent directory for all other directory It is call ROOT directory It is represented by forward slash C:\ of Windows /root It is home directory for root user (super user) It provides working environment for root user C:\Documents and Settings\Administrator of windows /home It is home directory for other users It provide working environment for other users (other than root user) C:\Documents and Settings\gyantech /boot It contains bootable files for Linux Like Vmlinuz (kernel) ntoskrnl Initrd (INITial RAM Disk) and GRUB (Grand Unifiend Boot Loader) boot.ini, ntldr /etc It contains all configuration files Like /etc/passwd --------- User Info /etc/resolv.conf ----- Preferred DNS /etc/dhcpd.conf ----- DHCP server C:\windows\system32\driers\ of windows /usr By default software's are installed in /usr directory (UNIX Sharable Resources) C:\program files of windows /opt It is optio

How to install red hat enterprise Linux 6 graphically?

Image
 RHEL BASIC SYSTEM REQUIREMENTS Graphical Installation Minimum and Recommended System Requirements to install RHEL 6 Hardware System Requirement for RHEL6 - 32BIT Minimum System Requirement for RHEL6 - 32BIT System Requirement for RHEL6 - 32BIT Minimum System Requirement for RHEL6 - 32BIT Mother Board Normal Normal VT Enabled VT Enabled RAM 1 GB 512MB 2 GB 1 GB Hard Disk 20 GB 15 GB 40 GB 20 GB Processor AMD / Intel Dual Core AMD/ Intel P IV AMD/Intel Core 2 Dual AMD/ Intel Dual Core Partition required Minimum Partition creation and Sizes for Basic Installation Partition Name Size For 32 Bit Size for 64 Bit /root 8GB to 10GB 15GB to 20GB /boot 200MB 200MB SWAP Twice of RAM Twice of RAM Install RHEL6 with the above specification. Enter into BIOS setting and make CD/DVD Drive as First boot device. If you are using external storage like Pendrive or Hard Disk select USB boot Support. (In My Case I am using DVD Drive) Make sure that VT (Virtual Technology) is enabled for RHEL6-64 BIT System