How Can I To Create A Text File ?

Asked by taurus

A user recommended that I downbload a file, 'mb_ubuntu_optimizer-0.6' to help me with something. He suggested that I convert it to a text file using the command, './mb_ubuntu_optimizer-0.6 alltofile'. But I get an error. This is what I get when I try to create that file with that code:

x@xx:~$ cd /home/x/Desktop
x@xx:~/Desktop$ sudo ./mb_ubuntu_optimizer-0.6 alltofile
[sudo] password for x:
sudo: ./mb_ubuntu_optimizer-0.6: command not found

What should I do now? I want this info in a text file. Let me know. Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark McKibben (manzabar) said :
#1

Try:
chmod +x mb_ubuntu_optimizer-0.6
sudo ./mb_ubuntu_optimizer-0.6

Most likely what you've got there is some sort of shell script and you've not specifically marked it as executable, which you need to do before being able to run it.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Yes as Manzabar tell
You must be into directory where you have downloaded the file and you must change the file permission.

Some note:

I made a little terminal tool that i call mb_ubuntu_optimizer you can download it via torrent:
from my link http://www.elart.it/torrents/mb_ubuntu_optimizer-0.6.torrent
once it is downloaded please stop Transmission or your .torrent client then make it executable open a terminal from Applications->Accessories->Terminal:
and type:

chmod 700 ./mb_ubuntu_optimizer-0.6

Maximize your terminal window or you will get a warning; then run it, type:
./mb_ubuntu_optimizer-0.6

1) launched without parameter it do an automatic Firefox optimization: ./mb_ubuntu_optimizer-0.6
2) launched with '?' parameter give you an usage help: ./mb_ubuntu_optimizer-0.6 ?
3) launched with 'all' parameter it perform a check of your system and give you some hints: ./mb_ubuntu_optimizer-0.6 all
4) launched with 'clean' parameter give you tip and info about kernel and command to remove unused: ./mb_ubuntu_optimizer-0.6 clean

Reference page for this tools for automatic Firefox optimization http://www.elart.it/mozilla/speedup.php
and for Ubuntu tips (italian language) http://www.elart.it/kubuntu/ottimizzare.php

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

I have upgrade the utility this night...

mb_ubuntu_optimizer

I made a little terminal tool that i call mb_ubuntu_optimizer you can download it via torrent:
from my link http://www.elart.it/torrents/mb_ubuntu_optimizer-0.7.torrent
once it is downloaded please stop Transmission or your .torrent client then make it executable open a terminal from Applications->Accessories->Terminal:
and type:

chmod 700 ./mb_ubuntu_optimizer-0.7

Maximize your terminal window or you will get a warning; then run it, type:
./mb_ubuntu_optimizer-0.7

1) launched without parameter it do an automatic Firefox optimization: ./mb_ubuntu_optimizer-0.7
2) launched with '?' parameter give you an usage help: ./mb_ubuntu_optimizer-0.7 ?
3) launched with 'all' parameter it perform a check of your system and give you some hints: ./mb_ubuntu_optimizer-0.7 all
4) launched with 'clean' parameter give you tip and info about kernel and command to remove unused: ./mb_ubuntu_optimizer-0.7 clean

Reference page for this tools for automatic Firefox optimization http://www.elart.it/mozilla/speedup.php
and for Ubuntu tips (italian language) http://www.elart.it/kubuntu/ottimizzare.php

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

@Taurus i read this http://www.linuxquestions.org/questions/linux-software-2/how-can-i-to-create-a-text-file-661226/?s=055fcda7e22d2e65e96c2314e035e7f9

my app isn't a bad app, i use it to configure all my Ubuntu and to automatically speed Firefox and it isn't a text file it is an compiled executable program.

Obviously feel free to don't use it, but if you want use it:

You need to give to the downloaded file the execute permission for your user:

chmod 700 ./mb_ubuntu_optimizer-0.7

Then to optimize only firefox run:

./mb_ubuntu_optimizer-0.7

to get tips i repeat you will get only tips on Ubuntu:

./mb_ubuntu_optimizer-0.7 all

or to have tips redirected to a file:

./mb_ubuntu_optimizer-0.7 alltofile

if you run this app with sudo you will get a warning to execute it as unprivileged user, just to be sure.

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

I must be more precise if you run this little app as root user you will get a warning and app will stop.

You still use sudo, mb_ubuntu_optimizer will run without warning, but it is DEPRECATED to run this app with sudo, this app don't need to be super user to run.

I will try to make impossible to run this app even using sudo.

Thank you

Can you help with this problem?

Provide an answer of your own, or ask taurus for more information if necessary.

To post a message you must log in.