Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I stop or kill some application which is not responding.. without hurting other applications which are running... I mean like in windows Cntr+Alt+Del.. return all processes you select one and say end task..... like that...
from a command line (like xterm or rxvt) type as follows:
'ps -A'
this will produce a long list of all the software running on your machine. on the left you will see a list of numbers labeled 'PID' or Process ID. you can then type
'kill <PID>' where <PID> is the process id of the app you want to stop. for more information on kill and ps read the man pages ... ie 'man kill' and 'man ps'.
ps -A shows lots of file manes.... Most of them is strange to me(as a windows user). How to become familiar with some basic Linux applications names... functions... etc....
By the way, how can I know if file is executable one or not?(like com, exe, bat of Windows)
most of the process running you can quickly lookup on the web or you can bring up the system documentation for them ...
for example on mine I have a couple process running
349 xinit
227 agetty
542 sshd
etc...
to bring up more information about an app running you can usually type 'man <app-name>'. for example 'man sshd' will bring up information about the SSH server that is running.
as for executable that is determined by file permissions... not by file extension. if you execute 'ls -l' to get a detailed directory listing on the left of the files you will see a string of characters similiar to this:
rwxr-xr-x root users ... etc
This means that root is the owner of the file, users is the group of the file. As such the first three letters (rwx) mean that the owner has read, write, and execute permissions. The second group (r-x) means that members of the file's group have read and execute permissions and the third group (r-x) means that everyone has read and execute permissions. the 'x' or executable permission is what makes a file executable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.