![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2005
Posts: 66
OS: Windows XP (SP2)
|
Basic Linux Command
How, by use of a Linux command line, would I be able to either:
1.) Create a file and edit it. OR 2.) Grant network priviliges from all incoming connections on "anonymous", and deny network privilages. |
|
|
|
| Sponsored Links |
|
|
#2 (permalink) |
|
Semi-Retired Manager, Microsoft Support
|
I can help with #1 ...
>vi {filename} VI is a text editor (THE text editor according to many) ... You may want to google it and brush up on the commands. #2 sounds like editing the config file for your firewall/iptables
__________________
![]() “The man who smiles when things go wrong has thought of someone to blame it on. ” - Robert Bloch |
|
|
|
|
|
#3 (permalink) |
|
Manager, Alternative Comp
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS
|
For text editing, you can use the following:
Command line: vi (a bit difficult to learn and may not be suitable for someone new to linux) nano/pico (an easy to use text editor. Nano is the new name for Pico, so try both names to see which version is installed) KDE: kwrite (standard/default text editor for KDE, feature rich and easy to use) Gnome: Does anyone else know of a good Gnome based text editor?
__________________
|
|
|
|
|
|
#4 (permalink) |
|
Registered User
|
Well the Gnome text editor is gedit and it's much better than kwrite. But both of those work from the gui not the terminal.
To anwser the first question posted, you can do anything from the terminal (command line) In fact that's all that linux is. guis like KDE and Gnome are just for show. You should learn to do everything from the terminal. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Nov 2005
Posts: 66
OS: Windows XP (SP2)
|
I am running these commands from a remote Perl script, and cannot recieve output from applications (although I do get 'ls'). Do you have a one-line solution?
Last edited by subpar : 12-04-2005 at 12:00 PM. Reason: Forgot to capitalize 'Perl' |
|
|
|
|
|
#6 (permalink) |
|
Asst. Manager, Alternative Computing Forums
|
Sounds like you may want to install or enable VNC, or Tight VNC on the remote server. These packages are often installed by default for this reason. Then you can run the editing applications on the remote machine, from any location, using the servers IP addr. and a password.
__________________
It's better to know me and not need me than to need me and not know me. B. While users are never under any obligation, if you feel the urge please feel free to visit our donation page. Every little bit helps. And we thank you for your support. Microsoft free Registered Linux user 397458 |
|
|
|
|
|
#7 (permalink) | |
|
Tech, Networking Forums
Join Date: Apr 2005
Location: 1265 Lombardi Ave.
Posts: 1,005
OS: All of the above
|
Quote:
|
|
|
|
|
|
|
#9 (permalink) | |
|
TSF Enthusiast
|
Quote:
To make & edit files, VI is the thing in my opinion (hit man vi to figure out quite a bit about it, remember that man command! info often gives more information than man does, but not always). As far as changing permissions, I think chmod is what you're looking for. Man it as using it can be a tad funky (you gotta put your permissions in first, then the file). Also, as mentioned, you may want to try Midnight Commander (mc, if available. If not, it should be available in the RPMs or .deb packages, or whatever your flavor of Linux uses. If not availble, hit Freshmeat! )
__________________
Finally, killed the Window! Microsoft free, baby!! Last edited by Lectraplayer : 12-04-2005 at 06:16 PM. |
|
|
|
|
![]() |
| Thread Tools | |
|
|