maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   X Terminal Commands for Noobs (https://talk.maemo.org/showthread.php?t=63034)

RenaldoTT 2010-09-29 13:23

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by danx (Post 829254)
noob question here !!

I go to the x term .

I put in app-get update , do i press enter or what

well i press enter and ittells me not found . am i doong somerhing wrong !

do you have rootsh installed and have you given x terminal root access before you ran this command?

Rob1n 2010-09-29 13:56

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by danx (Post 829254)
noob question here !!

I go to the x term .

I put in app-get update , do i press enter or what

well i press enter and ittells me not found . am i doong somerhing wrong !

The command is apt-get, not app-get.

RenaldoTT 2010-09-29 14:00

Re: X Terminal Commands for Noobs
 
woops didn't even read that. but yea the command is apt-get update not app-get update as you typed out.

anthonie 2010-09-29 14:03

Re: X Terminal Commands for Noobs
 
You need to be root danx. So make sure rootsh is installed and after that you open your terminal, type gainroot, followed by enter. Then you give the apt-get command.

The necessity to be root is to protect you from doing bad things by accident.

edit: I missed the typo pointed out by rob1n.

AlMehdi 2010-09-29 14:14

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by RenaldoTT (Post 829237)
well I'm changing it now. Can you change the URL for me it says "http://wiki.maemo.org/Put_desired_page_name_here" I want it to say the current title. Thank you

I changed it to http://wiki.maemo.org/X_Terminal_for_Beginners

Hope you don't mind. It will be easier to write.

(also.. don't know i removed the former page right. Someone knowledgable are free to check)

AKEEL 2010-09-29 14:16

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by deprecated (Post 829208)
chmod ### /path/to/folder

http://www.csgnetwork.com/csgchmodcalc.html

use the above url to get your chmod values

How to set folder attribute to 'Hidden' and how to revert back to normal?

RenaldoTT 2010-09-29 14:19

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by AlMehdi (Post 829303)
I changed it to http://wiki.maemo.org/X_Terminal_for_Beginners

Hope you don't mind. It will be easier to write.

(also.. don't know i removed the former page right. Someone knowledgable are free to check)

Alright cool no problem, I'll have more commands later going to work now, carrying my Linux command books with me :)

AlMehdi 2010-09-29 14:31

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by AKEEL (Post 829307)
How to set folder attribute to 'Hidden' and how to revert back to normal?

A file or a folder will be hidden by putting a point (".") before the name. Like /home/user/.secret.txt for files or /home/user/.secret-stuff/fil.txt for folders. Note where i put the "."

so hide them by:
Code:

mv /home/user/secret-stuff/ /home/user/.secret-stuff/
To unhide them..
Code:

mv /home/user/.secret.txt /home/user/secret.txt
Edit: Like Rob1n said.. this is not a security feauture.. it will not prevent someone knowledgable about linux to find them. It is mostly to make it easier for you to find and sort through your files. Like most configuration files are not necessary to be visible.

Rob1n 2010-09-29 14:31

Re: X Terminal Commands for Noobs
 
Quote:

Originally Posted by AKEEL (Post 829307)
How to set folder attribute to 'Hidden' and how to revert back to normal?

There isn't a hidden attribute for files/folders in Linux. If a file/folder starts with a "." then it's not displayed by default in "ls" or most file browsers though.

kureyon 2010-09-29 17:07

Re: X Terminal Commands for Noobs
 
For those who are serious about messing around with the command line then I suggest you install ssh-server on the N900 and ssh into it from a desktop. That way you have a comfortable screen/keyboard to work with and you can have loads of browser tabs opened where you copy+paste commands/code into your ssh window. Plus if you have any problems you can copy+paste the errors into google.


All times are GMT. The time now is 15:05.

vBulletin® Version 3.8.8