SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Install OS using an iso image

1. Create a folder named “fedora” in root directory.

   vishnu@VishnuRaj:/$ sudo mkdir fedora


2. Copy the iso image to the folder created in previous step.

   vishnu@VishnuRaj:/$ sudo cp /media/vaio/fedora-image.iso /fedora/

3. Mount the iso image to CD-Rom.

   vishnu@VishnuRaj:/$ sudo mount -o loop /fedora/fedora-image.iso /media/cdrom

4. Copy the kernel file named “vmlinuz” initrd file “initrd.img” from the mounted volume.
   Path to copy these files are as follows,


      Distributions                       Kernel                            initrd
    Fedora                          /isolinux/vmlinuz               /isolinux/initrd.img
    Ubuntu                           /casper/vmlinuz                  /casper/initrd.gz
    Mandriva                  /i586/isolinux/alt0/vmlinuz       /i586/isolinux/alt0/all.rdz
    OpenSUSE                    /boot/i386/loader/linux             /boot/i386/initrd.gz
    Debian                        /install.386/vmlinuz             /install.386/initrd.gz
    RHEL5 / CentOS                  /isolinux/vmlinuz               /isolinux/initrd.img

5. Open the menu.lst file from /boot/grub/

   vishnu@VishnuRaj:/$ sudo gedit /boot/grub/menu.lst

6. Add the following in menu.lst file

   title        Fedora 10 Installer
   root         (hd0,3)
   kernel       /fedora/vmlinuz
   initrd       /fedora/initrd.img

7. Restart the system and select the menu “Fedora 10 Installer” from grub menu to
   install fedora-10.
To change the user password

          sudo passwd <user-name>

To delete the user password

          sudo sudo passwd -d <user-name>

To lock the user

         sudo passwd -l <user-name>
To unlock the user

          sudo passwd -u <user-name

To encrypt the file in vim editor

          vim -x <file-name>

                             Use shell inside vim editor
To use shell

          press Esc and :sh

To resume file

          press ^d (ctrl+d)

                         Differentiate And Patch The File
To differentiate files and create patch file

          diff -c oldprg.c newprg.c > prg.patch

To patch the File

          patch oldprg.c < prg.patch

To open microsoft office 2007 (docx) file in OpenOffice Wordprocessor

          $ sudo apt-get install libgif4 libungif4g
Split And Combine Big File
To split the file

    For example, consider a file image.iso of size 600MB. We can split the file into 3 parts
of 200MB each.

           split -b 200m image.iso

    This creates xaa xab xac of 200m each.

To the splited files

           cat xa* > newimage.iso

    This combines the 3 files into a single iso file named “newimage.iso”.

                              Send Mail In Terminal
To check status of sendmail

    vishnu@VishnuRaj:/etc/init.d$ sendmail status

To start sendmail option

    vishnu@VishnuRaj:/etc/init.d$ sendmail start

Sending Mail

    vishnu@VishnuRaj:~$echo “mail body” | mail -s “subject” <to-address>

Sending mail from text file

    vishnu@VishnuRaj:/$mail -s “subject” to-address < mail-body.txt

Sending mail with attachment

    vishnu@VishnuRaj:/$echo “mail body” | mutt -s “subject” -a fileattach.gif <to-address>
Adding Wallpapers To Boot Menu
1. Choose a picture and then load it into the GIMP (right-click and
  select Open With -> Open with "GIMP Image Editor").

2. Right-click the image within GIMP and select Image ? Scale Image.
  In the Width box, type 640 and hit the Tab key. The Height box
  should then automatically change to 480.

3. Right-click the image again within The GIMP and select Image
  ->Mode -> Indexed and then type 14 into the Maximum Number of Colors box.
  Then click the Convert button.

4. Right-click the image again within GIMP and select File -> Save
  As. Give the file a name in the Name box, and use the .xpm file
  extension.

5. Open a terminal window and type the following (this assumes the
  file was saved to the desktop):

 $ sudo mkdir /boot/grub/splashimages
 $ gzip ~/Desktop/bootwallaper.xpm
 $ sudo mv ~/Desktop/bootwallpaper.xpm.gz /boot/grub/splashimages

6. Replace bootwallpaper mentions above with the filename you chose.

7. Then open the boot menu file for editing in Gedit:

 $ sudo gedit /boot/grub/menu.lst
8. Look for the line that begins ## ## End Default Options ## and, below, add a new line.



      splashimage=(hd0,3)/boot/grub/splashimages/bootwallaper.xpm.gz.




         As above, replace bootwallpaper with the filename you chose. See Figure for an
example taken from my test PC. Save the file and then reboot to see the new wallpaper in
action.
More Depth Commands In Linux - By Vishnu

Mais conteúdo relacionado

Mais procurados

Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with PuppetBeyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppetlutter
 
Ubuntu Cheat Sheet
Ubuntu Cheat SheetUbuntu Cheat Sheet
Ubuntu Cheat SheetServerless
 
Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++Michael Gordon
 
PHP - Getting good with cookies
PHP - Getting good with cookiesPHP - Getting good with cookies
PHP - Getting good with cookiesFirdaus Adib
 
Wordpress Manual Document
Wordpress Manual DocumentWordpress Manual Document
Wordpress Manual DocumentFarzad Wadia
 
Counter strike setup by vikas verma
Counter strike setup  by vikas vermaCounter strike setup  by vikas verma
Counter strike setup by vikas vermavikas verma
 
Archlinux install
Archlinux installArchlinux install
Archlinux installsambismo
 
Introduction to FreeBSD commands(beta)
Introduction to FreeBSD commands(beta)Introduction to FreeBSD commands(beta)
Introduction to FreeBSD commands(beta)郁凱 黃
 
Troubleshooting linux booting process
Troubleshooting linux booting processTroubleshooting linux booting process
Troubleshooting linux booting processManolis Kartsonakis
 
How to install Odoo 13 in Ubuntu ?
How to install Odoo 13 in Ubuntu ?How to install Odoo 13 in Ubuntu ?
How to install Odoo 13 in Ubuntu ?Varsha Technaureus
 

Mais procurados (19)

Beyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with PuppetBeyond Golden Containers: Complementing Docker with Puppet
Beyond Golden Containers: Complementing Docker with Puppet
 
Cli2 Bibalex
Cli2 BibalexCli2 Bibalex
Cli2 Bibalex
 
Set up docker
Set up dockerSet up docker
Set up docker
 
Git installation
Git installationGit installation
Git installation
 
Ubuntu Cheat Sheet
Ubuntu Cheat SheetUbuntu Cheat Sheet
Ubuntu Cheat Sheet
 
Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++Introduction to Linux, Pico, G++
Introduction to Linux, Pico, G++
 
PHP - Getting good with cookies
PHP - Getting good with cookiesPHP - Getting good with cookies
PHP - Getting good with cookies
 
Wordpress Manual Document
Wordpress Manual DocumentWordpress Manual Document
Wordpress Manual Document
 
ubunturef
ubunturefubunturef
ubunturef
 
Counter strike setup by vikas verma
Counter strike setup  by vikas vermaCounter strike setup  by vikas verma
Counter strike setup by vikas verma
 
Banquet 05
Banquet 05Banquet 05
Banquet 05
 
Archlinux install
Archlinux installArchlinux install
Archlinux install
 
Introduction to FreeBSD commands(beta)
Introduction to FreeBSD commands(beta)Introduction to FreeBSD commands(beta)
Introduction to FreeBSD commands(beta)
 
Install mongo db on centos
Install mongo db on centosInstall mongo db on centos
Install mongo db on centos
 
Hello world
Hello worldHello world
Hello world
 
Troubleshooting linux booting process
Troubleshooting linux booting processTroubleshooting linux booting process
Troubleshooting linux booting process
 
Unix tutorial for beginners
Unix tutorial for beginnersUnix tutorial for beginners
Unix tutorial for beginners
 
Python
PythonPython
Python
 
How to install Odoo 13 in Ubuntu ?
How to install Odoo 13 in Ubuntu ?How to install Odoo 13 in Ubuntu ?
How to install Odoo 13 in Ubuntu ?
 

Destaque

Sn presentatie arjan erkel ontgijzeling
Sn presentatie arjan erkel  ontgijzelingSn presentatie arjan erkel  ontgijzeling
Sn presentatie arjan erkel ontgijzelingschoevers
 
Verizon thinkfinityoverview
Verizon thinkfinityoverviewVerizon thinkfinityoverview
Verizon thinkfinityoverviewthinkict
 
Peer review
Peer reviewPeer review
Peer reviewthinkict
 
Open Office Writer : Lesson 03
Open Office Writer : Lesson 03Open Office Writer : Lesson 03
Open Office Writer : Lesson 03thinkict
 
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍Jaisen Nedumpala
 

Destaque (6)

Sn presentatie arjan erkel ontgijzeling
Sn presentatie arjan erkel  ontgijzelingSn presentatie arjan erkel  ontgijzeling
Sn presentatie arjan erkel ontgijzeling
 
Verizon thinkfinityoverview
Verizon thinkfinityoverviewVerizon thinkfinityoverview
Verizon thinkfinityoverview
 
Peer review
Peer reviewPeer review
Peer review
 
Clock 2
Clock 2Clock 2
Clock 2
 
Open Office Writer : Lesson 03
Open Office Writer : Lesson 03Open Office Writer : Lesson 03
Open Office Writer : Lesson 03
 
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍
പഞ്ചായത്തു് കമ്പ്യൂട്ടര്‍വല്ക്കരണവും ഭരണഭാഷയും - ചില ചിന്തകള്‍
 

Semelhante a More Depth Commands In Linux - By Vishnu

Fedora Atomic Workshop handout for Fudcon Pune 2015
Fedora Atomic Workshop handout for Fudcon Pune  2015Fedora Atomic Workshop handout for Fudcon Pune  2015
Fedora Atomic Workshop handout for Fudcon Pune 2015rranjithrajaram
 
Ubuntu Practice and Configuration
Ubuntu Practice and ConfigurationUbuntu Practice and Configuration
Ubuntu Practice and ConfigurationManoj Sahu
 
Best Practices For Direct Admin Security
Best Practices For Direct Admin SecurityBest Practices For Direct Admin Security
Best Practices For Direct Admin Securitylisa Dsouza
 
Hadoop installation on windows
Hadoop installation on windows Hadoop installation on windows
Hadoop installation on windows habeebulla g
 
Rhel 6.2 complete ebook
Rhel 6.2 complete ebookRhel 6.2 complete ebook
Rhel 6.2 complete ebookYash Gulati
 
Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebookYash Gulati
 
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platformDrupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platformHector Iribarne
 
Hadoop installation
Hadoop installationHadoop installation
Hadoop installationhabeebulla g
 
Sls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeSls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeQasim Khawaja
 
Fun with processes - lightning talk
Fun with processes - lightning talkFun with processes - lightning talk
Fun with processes - lightning talkPaweł Dawczak
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmersMd. Al Amin
 
Dance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech TalkDance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech TalkMichael Peacock
 
Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
Installing OpenSim (Diva Distro) to Create Your Own Private Sim SandboxInstalling OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
Installing OpenSim (Diva Distro) to Create Your Own Private Sim SandboxFleep Tuque
 
Yum server ( FTP Server )
Yum server ( FTP Server ) Yum server ( FTP Server )
Yum server ( FTP Server ) MOHSIN HASAN
 

Semelhante a More Depth Commands In Linux - By Vishnu (20)

Fedora Atomic Workshop handout for Fudcon Pune 2015
Fedora Atomic Workshop handout for Fudcon Pune  2015Fedora Atomic Workshop handout for Fudcon Pune  2015
Fedora Atomic Workshop handout for Fudcon Pune 2015
 
Ubuntu Practice and Configuration
Ubuntu Practice and ConfigurationUbuntu Practice and Configuration
Ubuntu Practice and Configuration
 
Best Practices For Direct Admin Security
Best Practices For Direct Admin SecurityBest Practices For Direct Admin Security
Best Practices For Direct Admin Security
 
Hadoop installation on windows
Hadoop installation on windows Hadoop installation on windows
Hadoop installation on windows
 
OS_lab_file.pdf
OS_lab_file.pdfOS_lab_file.pdf
OS_lab_file.pdf
 
Ubuntu installation
Ubuntu installationUbuntu installation
Ubuntu installation
 
Rhel 6.2 complete ebook
Rhel 6.2 complete ebookRhel 6.2 complete ebook
Rhel 6.2 complete ebook
 
Solaris_quickref.pdf
Solaris_quickref.pdfSolaris_quickref.pdf
Solaris_quickref.pdf
 
Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebook
 
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platformDrupal camp South Florida 2011 - Introduction to the Aegir hosting platform
Drupal camp South Florida 2011 - Introduction to the Aegir hosting platform
 
Hadoop installation
Hadoop installationHadoop installation
Hadoop installation
 
Sls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeSls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In Practice
 
Linux
Linux Linux
Linux
 
Fun with processes - lightning talk
Fun with processes - lightning talkFun with processes - lightning talk
Fun with processes - lightning talk
 
Ch12 system administration
Ch12 system administration Ch12 system administration
Ch12 system administration
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
 
Linux class 8 tar
Linux class 8   tar  Linux class 8   tar
Linux class 8 tar
 
Dance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech TalkDance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech Talk
 
Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
Installing OpenSim (Diva Distro) to Create Your Own Private Sim SandboxInstalling OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
Installing OpenSim (Diva Distro) to Create Your Own Private Sim Sandbox
 
Yum server ( FTP Server )
Yum server ( FTP Server ) Yum server ( FTP Server )
Yum server ( FTP Server )
 

Mais de Kanchilug

Kanchilug Boot camp
Kanchilug Boot campKanchilug Boot camp
Kanchilug Boot campKanchilug
 
Gnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalGnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalKanchilug
 
Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Kanchilug
 
ubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugKanchilug
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1Kanchilug
 
Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3Kanchilug
 
SFD '09 Article in Tamil
SFD '09 Article in TamilSFD '09 Article in Tamil
SFD '09 Article in TamilKanchilug
 
OpenOffice-SpreadSheet
OpenOffice-SpreadSheetOpenOffice-SpreadSheet
OpenOffice-SpreadSheetKanchilug
 
Sub Version Intro
Sub Version IntroSub Version Intro
Sub Version IntroKanchilug
 
open source intro
open source introopen source intro
open source introKanchilug
 
How to Install Ubuntu as Dual
How to  Install Ubuntu as DualHow to  Install Ubuntu as Dual
How to Install Ubuntu as DualKanchilug
 
PHP an intro -1
PHP an intro -1PHP an intro -1
PHP an intro -1Kanchilug
 
Kanchi Lug Pam-let
Kanchi Lug Pam-letKanchi Lug Pam-let
Kanchi Lug Pam-letKanchilug
 
An Intro To Television
An Intro To Television An Intro To Television
An Intro To Television Kanchilug
 
How To Use Open Office WordProcessor
How To Use Open Office WordProcessorHow To Use Open Office WordProcessor
How To Use Open Office WordProcessorKanchilug
 
Basic Commands 1 By Thanigai
Basic Commands  1 By ThanigaiBasic Commands  1 By Thanigai
Basic Commands 1 By ThanigaiKanchilug
 

Mais de Kanchilug (20)

Perl intro
Perl introPerl intro
Perl intro
 
Ltsp talk
Ltsp talkLtsp talk
Ltsp talk
 
Kanchilug Boot camp
Kanchilug Boot campKanchilug Boot camp
Kanchilug Boot camp
 
Cloud Compt
Cloud ComptCloud Compt
Cloud Compt
 
Perl Basics
Perl BasicsPerl Basics
Perl Basics
 
Gnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 finalGnu/Linux calendar 2010 final
Gnu/Linux calendar 2010 final
 
Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0Gnu/Linux Calendar 2010 V -1.0
Gnu/Linux Calendar 2010 V -1.0
 
ubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilugubuntu 9.10 release party @ kanchilug
ubuntu 9.10 release party @ kanchilug
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
 
Linux Commands - 3
Linux Commands - 3Linux Commands - 3
Linux Commands - 3
 
SFD '09 Article in Tamil
SFD '09 Article in TamilSFD '09 Article in Tamil
SFD '09 Article in Tamil
 
OpenOffice-SpreadSheet
OpenOffice-SpreadSheetOpenOffice-SpreadSheet
OpenOffice-SpreadSheet
 
Sub Version Intro
Sub Version IntroSub Version Intro
Sub Version Intro
 
open source intro
open source introopen source intro
open source intro
 
How to Install Ubuntu as Dual
How to  Install Ubuntu as DualHow to  Install Ubuntu as Dual
How to Install Ubuntu as Dual
 
PHP an intro -1
PHP an intro -1PHP an intro -1
PHP an intro -1
 
Kanchi Lug Pam-let
Kanchi Lug Pam-letKanchi Lug Pam-let
Kanchi Lug Pam-let
 
An Intro To Television
An Intro To Television An Intro To Television
An Intro To Television
 
How To Use Open Office WordProcessor
How To Use Open Office WordProcessorHow To Use Open Office WordProcessor
How To Use Open Office WordProcessor
 
Basic Commands 1 By Thanigai
Basic Commands  1 By ThanigaiBasic Commands  1 By Thanigai
Basic Commands 1 By Thanigai
 

Último

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Último (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

More Depth Commands In Linux - By Vishnu

  • 1. Install OS using an iso image 1. Create a folder named “fedora” in root directory. vishnu@VishnuRaj:/$ sudo mkdir fedora 2. Copy the iso image to the folder created in previous step. vishnu@VishnuRaj:/$ sudo cp /media/vaio/fedora-image.iso /fedora/ 3. Mount the iso image to CD-Rom. vishnu@VishnuRaj:/$ sudo mount -o loop /fedora/fedora-image.iso /media/cdrom 4. Copy the kernel file named “vmlinuz” initrd file “initrd.img” from the mounted volume. Path to copy these files are as follows, Distributions Kernel initrd Fedora /isolinux/vmlinuz /isolinux/initrd.img Ubuntu /casper/vmlinuz /casper/initrd.gz Mandriva /i586/isolinux/alt0/vmlinuz /i586/isolinux/alt0/all.rdz OpenSUSE /boot/i386/loader/linux /boot/i386/initrd.gz Debian /install.386/vmlinuz /install.386/initrd.gz RHEL5 / CentOS /isolinux/vmlinuz /isolinux/initrd.img 5. Open the menu.lst file from /boot/grub/ vishnu@VishnuRaj:/$ sudo gedit /boot/grub/menu.lst 6. Add the following in menu.lst file title Fedora 10 Installer root (hd0,3) kernel /fedora/vmlinuz initrd /fedora/initrd.img 7. Restart the system and select the menu “Fedora 10 Installer” from grub menu to install fedora-10.
  • 2. To change the user password sudo passwd <user-name> To delete the user password sudo sudo passwd -d <user-name> To lock the user sudo passwd -l <user-name> To unlock the user sudo passwd -u <user-name To encrypt the file in vim editor vim -x <file-name> Use shell inside vim editor To use shell press Esc and :sh To resume file press ^d (ctrl+d) Differentiate And Patch The File To differentiate files and create patch file diff -c oldprg.c newprg.c > prg.patch To patch the File patch oldprg.c < prg.patch To open microsoft office 2007 (docx) file in OpenOffice Wordprocessor $ sudo apt-get install libgif4 libungif4g
  • 3. Split And Combine Big File To split the file For example, consider a file image.iso of size 600MB. We can split the file into 3 parts of 200MB each. split -b 200m image.iso This creates xaa xab xac of 200m each. To the splited files cat xa* > newimage.iso This combines the 3 files into a single iso file named “newimage.iso”. Send Mail In Terminal To check status of sendmail vishnu@VishnuRaj:/etc/init.d$ sendmail status To start sendmail option vishnu@VishnuRaj:/etc/init.d$ sendmail start Sending Mail vishnu@VishnuRaj:~$echo “mail body” | mail -s “subject” <to-address> Sending mail from text file vishnu@VishnuRaj:/$mail -s “subject” to-address < mail-body.txt Sending mail with attachment vishnu@VishnuRaj:/$echo “mail body” | mutt -s “subject” -a fileattach.gif <to-address>
  • 4. Adding Wallpapers To Boot Menu 1. Choose a picture and then load it into the GIMP (right-click and select Open With -> Open with "GIMP Image Editor"). 2. Right-click the image within GIMP and select Image ? Scale Image. In the Width box, type 640 and hit the Tab key. The Height box should then automatically change to 480. 3. Right-click the image again within The GIMP and select Image ->Mode -> Indexed and then type 14 into the Maximum Number of Colors box. Then click the Convert button. 4. Right-click the image again within GIMP and select File -> Save As. Give the file a name in the Name box, and use the .xpm file extension. 5. Open a terminal window and type the following (this assumes the file was saved to the desktop): $ sudo mkdir /boot/grub/splashimages $ gzip ~/Desktop/bootwallaper.xpm $ sudo mv ~/Desktop/bootwallpaper.xpm.gz /boot/grub/splashimages 6. Replace bootwallpaper mentions above with the filename you chose. 7. Then open the boot menu file for editing in Gedit: $ sudo gedit /boot/grub/menu.lst
  • 5. 8. Look for the line that begins ## ## End Default Options ## and, below, add a new line. splashimage=(hd0,3)/boot/grub/splashimages/bootwallaper.xpm.gz. As above, replace bootwallpaper with the filename you chose. See Figure for an example taken from my test PC. Save the file and then reboot to see the new wallpaper in action.