![]() | ![]() |
| Register | |||||||
| General Software This is the forum for general discussions about software. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| shutdown -h now Join Date: 15 Aug 2003 Location: in front of my pc
Posts: 6,010
Reputation: 1078 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 23 | 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 |
| | |
| SPONSOR |
| | #2 (permalink) |
| Active Join Date: 3 Jun 2005
Posts: 591
Reputation: 583 ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 10 | 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 |
| | |
| | #3 (permalink) |
| shutdown -h now Join Date: 15 Aug 2003 Location: in front of my pc
Posts: 6,010
Reputation: 1078 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 23 | 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 |
| | |
| | #4 (permalink) |
| Active Join Date: 3 Jun 2005
Posts: 591
Reputation: 583 ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 10 | 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 |
| | |
| | #6 (permalink) | |
| ARP Webmaster Join Date: 13 Oct 2002 Location: http://atpeaz.com/
Posts: 8,595
Reputation: 1673 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 32 | Quote:
| |
| | |
| | #7 (permalink) | |
| Active Join Date: 3 Jun 2005
Posts: 591
Reputation: 583 ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 10 | Quote:
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.. | |
| | |
| | #9 (permalink) | |
| Active Join Date: 3 Jun 2005
Posts: 591
Reputation: 583 ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 10 | Quote:
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.. | |
| | |
| | #10 (permalink) | |
| I'm a regular Join Date: 15 Jan 2004 Location: Somewhere out there
Posts: 352
Reputation: 15 ![]() Rep Power: 7 | Quote:
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. | |
| | |
![]() |
| Thread Tools | |
| |
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 |