Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 31st Dec 2006, 11:06 AM   #1 (permalink)
shutdown -h now
 
Join Date: 15 Aug 2003
Location: in front of my pc
Posts: 6,010
Reputation: 1078
hyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud of
Rep Power: 23
Default Unix tip

Here is a good tip i learned a couple of days ago. If you are in the command line and you are using the command less like this

[code]less <filename> [/code]

It will print out the content of the file on to the screen but if you hit 'v' it will bring you to your favorite editor so that you can edit your file

__________________
"God does not play dice with the universe."
- Albert Einstein (1879-1955)
http://edward-lim.blogspot.com
hyper_raider is offline   Reply With Quote
SPONSOR
Old 31st Dec 2006, 04:52 PM   #2 (permalink)
Active
 
djspinnet's Avatar
 
Join Date: 3 Jun 2005
Posts: 591
Reputation: 583
djspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to all
Rep Power: 10
Default

Ouh.

When I saw the title I was expecting something more than just less or more.. thought those were rudimentary commands.

Then again, apart from maybe Ken, who's actually gonna appreciate it in ARP? 99.95% of users here are pure Windoze users

That said, I don't mind giving ARP-ians who are interested, a crash course in UNIX. Serious
__________________
Jinny Wong
djspinnet.org
djspinnet is offline   Reply With Quote
Old 31st Dec 2006, 07:30 PM   #3 (permalink)
shutdown -h now
 
Join Date: 15 Aug 2003
Location: in front of my pc
Posts: 6,010
Reputation: 1078
hyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud of
Rep Power: 23
Default

Start with simple tips first and then go on to harder ones
__________________
"God does not play dice with the universe."
- Albert Einstein (1879-1955)
http://edward-lim.blogspot.com
hyper_raider is offline   Reply With Quote
Old 31st Dec 2006, 07:47 PM   #4 (permalink)
Active
 
djspinnet's Avatar
 
Join Date: 3 Jun 2005
Posts: 591
Reputation: 583
djspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to all
Rep Power: 10
Default

Quote:
Originally Posted by hyper_raider View Post
Start with simple tips first and then go on to harder ones
Oh? Simple?

Here's a tip for the simplest command ever... ls.

ls -lS. Sort by filesize and in long format. 9/10 people who use UNIX on a regular basis that I know don't even know what -S is for. most common are -a, -l, -F, -h, -o. In fact, I have ll aliased to ls -lahoF
__________________
Jinny Wong
djspinnet.org
djspinnet is offline   Reply With Quote
Old 1st Jan 2007, 05:43 PM   #5 (permalink)
Active
 
Join Date: 25 Apr 2006
Posts: 641
Reputation: 58
belikethat will become famous soon enough
Rep Power: 4
Default

thanks.......
__________________
Control Panel
Settings & Options
Edit Signature
belikethat is offline   Reply With Quote
Old 3rd Jan 2007, 11:04 AM   #6 (permalink)
ARP Webmaster
 
peaz's Avatar
 
Join Date: 13 Oct 2002
Location: http://atpeaz.com/
Posts: 8,595
Reputation: 1673
peaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant future
Rep Power: 32
Default

Quote:
Originally Posted by djspinnet View Post
Ouh.

When I saw the title I was expecting something more than just less or more.. thought those were rudimentary commands.

Then again, apart from maybe Ken, who's actually gonna appreciate it in ARP? 99.95% of users here are pure Windoze users

That said, I don't mind giving ARP-ians who are interested, a crash course in UNIX. Serious
I'm sure there are more linux users here who read Tech ARP than you think
__________________
Ken Ng
Tech ARP
Follow me at Twitter
Blogs @ http://www.atpeaz.com/
peaz is offline   Reply With Quote
Old 3rd Jan 2007, 10:43 PM   #7 (permalink)
Active
 
djspinnet's Avatar
 
Join Date: 3 Jun 2005
Posts: 591
Reputation: 583
djspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to all
Rep Power: 10
Default

Quote:
Originally Posted by peaz View Post
I'm sure there are more linux users here who read Tech ARP than you think
Well, that was based on my judgement from the responses I got from my UNIX article last time. Things may have changed and some people may have tried Linux after that (if yes, hallelujah! )

But from my observation of the active forumers, not really

Say, Ken. I remember owing ARP a Part II to that UNIX article.. you guys still want it? I might be able to squeeze some time to write it over the next few weeks. I remember it was supposed to be on simple and (power) text manipulation/editing in Linux.. stuff like vi/vim, emacs, and filters and stream editors..
__________________
Jinny Wong
djspinnet.org
djspinnet is offline   Reply With Quote
Old 4th Jan 2007, 01:05 AM   #8 (permalink)
ARP Webmaster
 
peaz's Avatar
 
Join Date: 13 Oct 2002
Location: http://atpeaz.com/
Posts: 8,595
Reputation: 1673
peaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant future
Rep Power: 32
Default

Sure why not I've always have problem remembering how to work around the commands of VI
__________________
Ken Ng
Tech ARP
Follow me at Twitter
Blogs @ http://www.atpeaz.com/
peaz is offline   Reply With Quote
Old 4th Jan 2007, 01:44 AM   #9 (permalink)
Active
 
djspinnet's Avatar
 
Join Date: 3 Jun 2005
Posts: 591
Reputation: 583
djspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to alldjspinnet is a name known to all
Rep Power: 10
Default

Quote:
Originally Posted by peaz View Post
Sure why not I've always have problem remembering how to work around the commands of VI
Hmmm... you using vi or vim?



vi makes me want to pull my hair off. vim is still my favourite text editor until today, although TextMate (Mac only) is able to do most things that vim can do.

You'll be amazed at the things vim can do..
__________________
Jinny Wong
djspinnet.org
djspinnet is offline   Reply With Quote
Old 4th Jan 2007, 02:24 AM   #10 (permalink)
I'm a regular
 
fyire's Avatar
 
Join Date: 15 Jan 2004
Location: Somewhere out there
Posts: 352
Reputation: 15
fyire is on a distinguished road
Rep Power: 7
Default

Quote:
Originally Posted by peaz View Post
Sure why not I've always have problem remembering how to work around the commands of VI
Well, the problems with remembering the vi commands tends to decrease the more often you make use of it.

Thing is, despite how arcane vi can seem to be, one has got to admire the design of the thing too, considering how it had stood the test of time. You will not find a better editor to be used in situations where resources, especially bandwidth is limited, such as the situation now.

One useful thing to remember when trying to decipher the arcaneness of vi is the layout of the usual qwerty keyboard too. the vi editor commands allows those commands to be entered with minimal movement of the hands.
fyire is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compression Comparison Guide peaz Reviews & Articles 77 19th Apr 2008 04:12 AM
UNIX For Dummies Guide! Dashken Reviews & Articles 5 26th Nov 2005 10:14 AM


All times are GMT +8. The time now is 06:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2009 Tech ARP. All rights reserved.