RSS Forums RSS

Ubuntu Command-line Editing and History Exercise

Please support our Getting Started and Choosing a Distro advertiser: Programming Forums
Reply
Posts: 109
Reputation: Evenbit is on a distinguished road 
Solved Threads: 3
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

Tutorial Ubuntu Command-line Editing and History Exercise

  #1  
Dec 12th, 2006
This exercise is designed to get you familiar with the Ubuntu command-line editing features. It also introduces you to the concept of command-line history.

Follow these steps
  1. Type the words "We all love Ubuntu" (without the quotation marks) but do not press Enter.
  2. Press the left arrow key to move the cursor to the letter "a" in the word "all".
  3. Press Alt+D to delete the word "all".
  4. Re-type the word "all" at the present cursor position.
  5. Press Ctrl+A to move the cursor to the beginning of the command line.
  6. Press the right arrow key to move the cursor to the letter "l" in "love".
  7. Press Ctrl+K to delete the line from the current cursor position.
  8. Press Ctrl+A and then press Ctrl+K to delete the entire line.
  9. Type "echo $SHELL" and press Enter.
  10. Type "date" and press Enter.
  11. Type "cal" and press Enter.
  12. Press the up arrow three times. You should see "echo $SHELL" on the current command line. Press the down arrow once. The current line will show "date". Now press Enter.
  13. Type "clear" and press Enter.
Last edited by happygeek : Dec 18th, 2006 at 4:09 pm. Reason: Formatting
while (CPU is present) {some assembly required}
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Getting Started and Choosing a Distro Forum
Views: 4891 | Replies: 0 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:31 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC