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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Linux Support Linux - Operating Systems and Applications Support

Reply
 
Thread Tools
Old 12-03-2005, 08:56 PM   #1 (permalink)
Registered User
 
subpar's Avatar
 
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.
subpar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Sponsored Links
Old 12-03-2005, 11:57 PM   #2 (permalink)
Semi-Retired Manager, Microsoft Support
 
Chevy's Avatar
 
Join Date: Jul 2003
Location: Notlob
Posts: 5,249
OS: Vista Ultimate

My System

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
Chevy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 07:57 AM   #3 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

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?
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 11:31 AM   #4 (permalink)
Registered User
 
Join Date: Sep 2004
Location: Severn, MD
Posts: 367
OS: XP SP2


Send a message via AIM to Aeuzent Send a message via MSN to Aeuzent Send a message via Yahoo to Aeuzent
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.
Aeuzent is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 11:59 AM   #5 (permalink)
Registered User
 
subpar's Avatar
 
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'
subpar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 12:15 PM   #6 (permalink)
Asst. Manager, Alternative Computing Forums
 
batty_professor's Avatar
 
Join Date: Jul 2004
Location: Hooterville Il 45 mi. east of St. Louis mo
Posts: 2,609
OS: Fedora Core 5 for now


Send a message via AIM to batty_professor Send a message via MSN to batty_professor Send a message via Yahoo to batty_professor
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
batty_professor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 02:06 PM   #7 (permalink)
Tech, Networking Forums
 
Squashman's Avatar
 
Join Date: Apr 2005
Location: 1265 Lombardi Ave.
Posts: 1,005
OS: All of the above


Quote:
Originally Posted by batty_professor
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.
I would go with OpenSSH server.
Squashman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 02:33 PM   #8 (permalink)
Registered User
 
Join Date: Sep 2004
Location: Severn, MD
Posts: 367
OS: XP SP2


Send a message via AIM to Aeuzent Send a message via MSN to Aeuzent Send a message via Yahoo to Aeuzent
Yeah there is no reason for a VNC server. Installing a SSH server will do the job easy.

What distro are you using?
Aeuzent is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-04-2005, 06:14 PM   #9 (permalink)
TSF Enthusiast
 
Lectraplayer's Avatar
 
Join Date: Aug 2002
Location: Birmingham, AL
Posts: 527
OS: Win-XP, Debian/Sarge, and SuSI 9.1


Send a message via AIM to Lectraplayer
Quote:
Originally Posted by Aeuzent
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.
I could argue with you there, but I think he's wanting to use neither of the above.

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.
Lectraplayer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 05:54 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82