Jump to content
xisto Community

Search the Community

Showing results for tags 'emacs'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Help & Support
    • Alerts, News & Announcements
    • Web Hosting Support
    • Introductions
  • Computers & Tech
    • Science and Technology
    • Software
    • The Internet
    • Search Engines
    • Graphics, Design & Animation
    • Computer Gaming
    • Websites and Web Designing
    • Mobile Phones
    • Operating Systems
    • Programming
    • Online Advertising
    • Hardware Workshop
    • Computer Networks
    • Security issues & Exploits
  • Others
    • General Discussion
    • Business Forum
    • Photography
    • Health & Fitness
    • Dating And Relationships
    • The Vent
    • Art & Creativity
    • Home & Garden

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests

Found 1 result

  1. Among the many reasons every web developer should want SSH from a web host, like security, is the ability to edit your web pages directly from the command line. With shell access, you can use the myriad of GNU/Linux system tools to exercise complete control and domination over your web site. Here are some of the tools I use most often: Vim (or vi) This is the first text editor I ever learned to use. Among the functions in vi that I use most often are "set nu" to show line numbers, "%s/<text to replace>/<replacement text>/g" to replace all matching text in a file, "r <filename>" to read a file and insert it into the current file at the line after the cursor, and "/" to search for a string. Emacs I used emacs for a few college courses, but I was always more comfortable with vi, so I didn't stick with emacs. However, in recent years, I've been discovering some of the wonderful features in emacs, like the ability to write your own commands in elisp and the alt+q command to automatically insert line breaks -- a feature that I have found to be indispensible. grep When your web site grows in the number of files, grep comes in handy when you want to find some specific text, and determine which file contains that text. For example, if I want to edit the style for a specific div id or class, and I have multiple stylesheets, I can use the following command to list all the files that contain the div id I'm looking for. grep -l <text to find> ./*.css (the l option tells grep to list the file names of the css files that contain the text in the place of <text to find>.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.