Support Forums

Full Version: Basic terminal commands and explinations.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
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 ;)
(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.
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...
Thanks interristing for a linux newb like me Smile
Good post Smile
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.
(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.
Archlinux

pacman -S <packagename> installs package

pacman -Syu updates =]
Thanks for that. And i did forget who used pacman Tongue
Pages: 1 2