Support Forums
Basic terminal commands and explinations. - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Computer Support Topics (https://www.supportforums.net/forumdisplay.php?fid=4)
+---- Forum: Linux, FreeBSD, and Unix (https://www.supportforums.net/forumdisplay.php?fid=17)
+---- Thread: Basic terminal commands and explinations. (/showthread.php?tid=109)

Pages: 1 2


Basic terminal commands and explinations. - MyNameIs940 - 10-04-2009

Main command list on how to navigate around in terminal.

ls - lists everything in the current directory.
cd dir - navigates into that directory.
nano file - opens up the file in a text editor like thing.
cat file - displays the file
cat File1 >> file2 - puts all of file 1's contents to the bottom of file 2's contents
exit - exit's
su - username - changes your permissions to that users permissions.
sudo command - gives you root permissions for that execution.
ps -aux|more - views what is running
kill -9 pid - Kills the program by PID.


Debian:
apt-cache search program - searches for the program in apt.
apt-get install program - downloads and installs the program
apt-get remove program - removes the program
apt-get update - Updates the deb download list.

Fedora:
yum search program - searches for the program in yum.
yum install program - downloads and installs the program
yum remove program - removes the program.


I will add more later. Post other commands you would like to see added and I will add them and add you to the credits.

Credits:
ME
Tm0


RE: Basic terminal commands and explinations. - Gone - 10-04-2009

ps -aux|more would be a good one, and kill -9 (processes id)
(This will search all the process and will kill the one that you want)
Su.
To log onto root for whatever reason *So you don't need to do sudo all the time i guess Tongue.*
sudo passwd
Set teh SU password
(su) Sudo apt-get update.
Updates everything

My contribution ;)


RE: Basic terminal commands and explinations. - MyNameIs940 - 10-04-2009

(10-04-2009, 09:44 PM)Tm0 Wrote: ps -aux|more would be a good one, and kill -9 (processes id)
(This will search all the process and will kill the one that you want)
Su.
To log onto root for whatever reason *So you don't need to do sudo all the time i guess Tongue.*
sudo passwd
Set teh SU password
(su) Sudo apt-get update.
Updates everything

My contribution ;)


added what you said, thanks.


RE: Basic terminal commands and explinations. - Gone - 10-04-2009

ps -aux|more

You forgot the A, and you should add the option for more. Otherwise i always can't find the stupid crashing games...


RE: Basic terminal commands and explinations. - Kernel32 - 10-05-2009

Thanks interristing for a linux newb like me Smile


RE: Basic terminal commands and explinations. - jolttz - 10-05-2009

Good post Smile


RE: Basic terminal commands and explinations. - Austin - 10-05-2009

This will help ALOT of people that are new to linux. Its hard to find out what commands to use. You listed some pretty useful commands.


RE: Basic terminal commands and explinations. - MyNameIs940 - 10-05-2009

(10-05-2009, 07:23 AM)Austin Wrote: This will help ALOT of people that are new to linux. Its hard to find out what commands to use. You listed some pretty useful commands.

That's why I wrote it up.


RE: Basic terminal commands and explinations. - Darkside92 - 10-05-2009

Archlinux

pacman -S <packagename> installs package

pacman -Syu updates =]


RE: Basic terminal commands and explinations. - Gone - 10-06-2009

Thanks for that. And i did forget who used pacman Tongue