What is the relation between UNIX and emacs?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is the relation between UNIX and emacs?
Prev   Next
# 4  
Old 04-21-2013
I wouldn't worry about the questions being too basic. The basic questions are the most important. And sometimes the answers (such as this one) can be rather long-winded. Smilie

If you are running windows, there is no easy way to "click something" to open Unix. 1) There is something called "cygwin" that runs under windows, and is a Unix-like environment. But it is not Unix. I don't use cygwin, it is not my preference. But others use and like it, because it meets their needs. 2) There are sets of unix programs (like grep, sed, and awk) that you can download to your windows pc and run. The UnxUtils package is a good one. I use it when I have to do something on windows. 3) You can also make a dual-boot computer, with both windows and Unix, possibly in some way that might even switch back and forth. I'm not familiar with the dual-boot details. I run Unix on a separate computer, and that's where I do command line work. Having a separate computer seems simpler to me. I use ubuntu linux, but there are many other good options.

If you are running windows, you can easily "click something" to open emacs. I do not know the details of installing emacs to a windows PC. But it is 100% doable, and will work just fine. My guess is that there is a very convenient way to install emacs to a windows PC. I run vim on a windows PC.

Once you save a file in emacs (or vi), it will be on the disk and safe, assuming the disk does not crash or file deleted by mistake. Both emacs and vi have a "save" command, to save the current file.

But the file will not be "auto-executed". It will just sit there. The file "can" be executed, but that depends on a user or some other process running the program. Also, the file must have the right "permissions" to run (be executed). So if you edit the cgi file, put it in the right place, set the permissions, it will sit there, and run when the user clicks on the button in the browser page that "sends a message" to the cgi program. Then it "springs into action", and runs.

Yes, as you say, the answers are not really online. I would say the answers are in your hands. You have to start simple, and build one thing at a time. When I first learned to program, it took me a year to understand anything. When I first learned how to use vi, I often make silly mistakes. If I want to learn something new, I have to go through the same process. But it gets easier, because the technologies are inter-related. It takes a lot of practice, find a good book or online tutorial to read, and figure out your own way of mastering the knowledge.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What is the relation between values from TOP and SAR commands?

Hi, Please have a look at the look at the below top and sar commands. top -bn1 | grep load | awk '{printf "CPU Load: %.2f\n", $(NF-2)}' CPU Load: 0.52 sar -u 1 1 Linux 3.10.0-514.16.1.el7.x86_64 (mymac) 06/01/2017 _x86_64_ (2 CPU) 03:27:40 PM CPU %user %nice ... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. Shell Programming and Scripting

One to many relation by awk

Hi, I have a file with more than 50,000 rows. The file is **hsa-miR-10a** ** ABBA-1 ** **hsa-miR-10a** ** ABCA1 ** **hsa-miR-10a** ** ABCC3 ** **hsa-miR-10a** ** ABCC3 ** **hsa-miR-10a** ** ABI3 ** **hsa-miR-10a** ** ACAD11 ** **hsa-miR-10a** ** ACAD11 ** **hsa-miR-10a** ** ACRC **... (3 Replies)
Discussion started by: Diya123
3 Replies

3. UNIX for Dummies Questions & Answers

Regarding relation between SAS and HTML

How is sas related to web development - once we have the sas code executed what is the necessity to create a html output?? Any sas and html users welcome .. (2 Replies)
Discussion started by: swathi123
2 Replies

4. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

5. UNIX for Dummies Questions & Answers

I have to learn UNIX/LINUX/VIM/EMACS

I need some advice from people who use command line frequently and know how to use both VIM and EMACS pretty well for their daily tasks. Please no opinion on which one better etc..., I got enough at that from the Internet. A little about my professional background: I have been a firmware... (2 Replies)
Discussion started by: gspec
2 Replies

6. Programming

MySQL: Create a relation between two tables.

Hello everybody, I'm having troubles creating a relation between two tables in a MySQL database. Having two tables, being one which contains users information (username, password, user ID, etc) and the other the one which contains transactions information (operation type, user ID of the user who... (2 Replies)
Discussion started by: semash!
2 Replies

7. Red Hat

nfs on RHEL5.4 in relation to the selected kernel

I have 2 RHEL5.4 systems connected by a network. I start nfs server on one (fill /etc/exports , exportfs -ra, service nfs start, portmpa is up) and the client is on the other . I can mount the exported directory on the client and work there . Now the RH54 kernel is 2.6.18 . I now installed... (2 Replies)
Discussion started by: dubi
2 Replies

8. UNIX for Advanced & Expert Users

Parent child Relation !! using awk/sed ???

tempfind.txt file has: t2589vg 888898 336008 09:15:55 -ksh mqsiadm 1421774 888898 09:16:48 -ksh I am searching using 1421774 in the above file tempfind.txt and and trying to get the no. i.e. 888898 . Based on this no. i have to get the first line, where the same no. is there . The nos. in Blue... (0 Replies)
Discussion started by: varungupta
0 Replies

9. UNIX for Advanced & Expert Users

Relation between kernel & weblogic thread

"nkthread" kernel parameter limits the number of threads running at any point of time from all processes. Does the thread setting in "weblogic server" is in anyway related to this. Please suggest. Thanks Bishweshwar (2 Replies)
Discussion started by: bishweshwar
2 Replies
Login or Register to Ask a Question