Forum

> > Off Topic > Linux Commands
Forums overviewOff Topic overviewLog in to reply

English Linux Commands

4 replies
To the start Previous 1 Next To the start

old Linux Commands

Sisla
User Off Offline

Quote
You have installed a Linux OS for you to host your server, but you don't know how to use Linux?
Don't worry, this threat will give you a little boost into the Linux universe.
INFO
For fast performance I recommend you to use Ubuntu, you can download Ubuntu here.
This list will contain the commands that you will mostly use on the Linux OS.

1. cd Desktop/ - CD stands for Change Directory, in the example we use cd to change our directory to the Desktop.
2. mkdir CS2D - MKDIR stands for Make Directory, in the example provided, we used mkdir to make a new directory called 'CS2D'.
3. rm file.sh- RM stands for Remove, it removes a specific file proven, in the example provided, we used rm to remove the file called file.sh , however this command doesn't work on folders like this.
4. rm -rf MyFolder - Same as above, but the '-rf' removes a folder, in the example provided, we used 'rm -rf' to remove the directory called MyFolder.
5. su Sisla - Is often used to get root access, replace Sisla with your username then press enter, you will then need to input your password correctly in order to get root access.
6. sudo install.sh - Is used to get root access for the specific command, this is not same as su, after you type in 'sudo' , you must put the command you want to give root access to/run with root access. In the example above, we ran the shell file 'Install' with root access.
7. apt-get update - Updates the list of available packages (needs root access, so run it with root access!).
8. apt-get upgrade - Upgrades your installed packages to a newer version if available (Also requires root access).
9. apt-get install ..package name.. - Installs a specified package (Needs root access as well).
10. tar xvf archive_name.tar - Extract files from a tar archive, replace archive_name with your tar archive name (Root access may be required.)
11. gnome-terminal -x ./shell_file.sh - Opens a new terminal and runs the shell file called shell_file.sh, you can replace './shell_file.sh' with any linux command you wish to run in the new terminal.
12. ls - LS stands for List, yes, it gives you a list of ALL the files/folders in the directory you are currently in.
13. wget   http://www.ubuntu.com/download/desktop/thank-you/?version=14.04.1&architecture=amd64 - Downloads a specific file off the Internet, in this example we used the wget command to download Ubuntu iso for 64bit AMD processors. Replace the ubuntu download link with the link of the file that you want to download.


This will be it for now.
More commands will be added later, but these are the far-more important ones.

Changelog >

I would appreciate some feedback and ideas, also telling me what I've missed would help.
(If i have placed this in a wrong category, then sorry..)
edited 1×, last 03.12.14 08:10:30 pm

old Re: Linux Commands

0TT0
User Off Offline

Quote
-- some linux distros dont have the desktop activated
-- i think ubuntu and others uses sudo instead 'su -' because its said to be user friendlier
-- also you can use strg z to freeze a command and then 'bg' to run it in the background ('fg' to get it back) so you dont have to run several terminals..
-- if you really want to get started with the linux console you should google 'linux cheat sheet' and also check out ubuntuusers even if you dont use ubuntu

old Re: Linux Commands

Sisla
User Off Offline

Quote
user 0TT0 has written
-- some linux distros dont have the desktop activated
-- i think ubuntu and others uses sudo instead 'su -' because its said to be user friendlier
-- also you can use strg z to freeze a command and then 'bg' to run it in the background ('fg' to get it back) so you dont have to run several terminals..
-- if you really want to get started with the linux console you should google 'linux cheat sheet' and also check out ubuntuusers even if you dont use ubuntu

Let me point something out.
-This is a tutorial, I am already an experienced Linux user.
-The 'gnome-terminal' command is only for GNOME desktops, I know that, the point was, they can try to see if it works or not.
-This is a tutorial to help newbies.

old Re: Linux Commands

ohaz
User Off Offline

Quote
Let me point out what user 0TT0 wanted to tell you:
Usually, when you get a linux os for a server, you:
• don't have UI
• can't install the OS yourself

other than that: I'd perhaps show a small example.

old Re: Linux Commands

Sisla
User Off Offline

Quote
user ohaz has written
Let me point out what user 0TT0 wanted to tell you:
Usually, when you get a linux os for a server, you:
• don't have UI
• can't install the OS yourself

other than that: I'd perhaps show a small example.

Thank you for clearing his comment up.
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview