mersenneforum.org Factor5 revamping
 Register FAQ Search Today's Posts Mark Forums Read

2017-09-22, 19:28   #23
paulunderwood

Sep 2002
Database er0rr

5×857 Posts

Quote:
 Originally Posted by storm5510 I had to look up few commands. but I am having problems navigating. Then I will have to get the contents of the archive in the folder. All of this seems confined to a single parent folder that I cannot find with Windows Explorer. Life goes on.
You need to use commands like pwd (present working directory); ls (list files); cd ~ (change to your directory under home); rmdir (remove directory if it is empty); mkdir (make a directory)... and my favourites: man and apropos

Last fiddled with by paulunderwood on 2017-09-22 at 19:48

2017-09-22, 19:35   #24
wombatman
I moo ablest echo power!

May 2013

70F16 Posts

Quote:
 Originally Posted by storm5510 I had to look up few commands. but I am having problems navigating. Then I will have to get the contents of the archive in the folder. All of this seems confined to a single parent folder that I cannot find with Windows Explorer. Life goes on.
Navigate to the home folder. Then you can use "dir" again. Then navigate to that folder, and the finally to the factor5 folder you made. It takes some getting used to, especially if you don't have any Linux-based experience, but it's not bad once you understand what you're doing.

2017-09-23, 00:23   #25
storm5510
Random Account

Aug 2009
Not U. + S.A.

233210 Posts

Quote:
 Originally Posted by wombatman Navigate to the home folder. Then you can use "dir" again. Then navigate to that folder, and the finally to the factor5 folder you made. It takes some getting used to, especially if you don't have any Linux-based experience, but it's not bad once you understand what you're doing.
I went to the home folder and tried to change it. The folder I made does not exist. I tried to create one, but it says I do not have permission.

Anyway, I cut my teeth on MS-DOS back in the late 1980's. I have never been reluctant about trying to learn something new.

 2017-09-23, 05:34 #26 LaurV Romulan Interpreter     "name field" Jun 2011 Thailand 236068 Posts does MC run on that win10 shell? (I am still faithful to my win7). If so, then apt-get mc. No problem navigating anymore. Last fiddled with by LaurV on 2017-09-23 at 05:35
2017-09-23, 05:46   #27
wombatman
I moo ablest echo power!

May 2013

13×139 Posts

Quote:
 Originally Posted by storm5510 I went to the home folder and tried to change it. The folder I made does not exist. I tried to create one, but it says I do not have permission. Anyway, I cut my teeth on MS-DOS back in the late 1980's. I have never been reluctant about trying to learn something new.
If you want to work in the windows directories (so you can make changes in Windows and then work from them in the Ubuntu shell), you can use "/mnt/c/Users/(your username)/Desktop". That will take you to the Windows desktop. If you download factor5.c to your desktop, you can then do all the compilation. I do that with files I think I may edit since I like to have a GUI-based editor.

2017-09-23, 19:24   #28
storm5510
Random Account

Aug 2009
Not U. + S.A.

91C16 Posts

Quote:
 Originally Posted by wombatman If you want to work in the windows directories (so you can make changes in Windows and then work from them in the Ubuntu shell), you can use "/mnt/c/Users/(your username)/Desktop". That will take you to the Windows desktop. If you download factor5.c to your desktop, you can then do all the compilation. I do that with files I think I may edit since I like to have a GUI-based editor.
Is this a "change directory" command?

I finally got my folder "factor5" created using a sudo command. It prompts with a password, which is fine.

The folder containing the two files from the archive lay outside the bounds and I cannot access them to get them into the "factor5" folder which I created.

2017-09-23, 21:58   #29
ET_
Banned

"Luigi"
Aug 2002
Team Italia

484310 Posts

Quote:
 Originally Posted by storm5510 Is this a "change directory" command? I finally got my folder "factor5" created using a sudo command. It prompts with a password, which is fine. The folder containing the two files from the archive lay outside the bounds and I cannot access them to get them into the "factor5" folder which I created.
try the commands
Code:
pwd
ls -la
and tell us what's the output. It looks like either you created the folder as root, or on a directory requiring root privileges

2017-09-23, 23:32   #30
wombatman
I moo ablest echo power!

May 2013

13·139 Posts

Quote:
 Originally Posted by storm5510 Is this a "change directory" command? I finally got my folder "factor5" created using a sudo command. It prompts with a password, which is fine. The folder containing the two files from the archive lay outside the bounds and I cannot access them to get them into the "factor5" folder which I created.
Change directory is "cd" just as in Windows. The path I gave you will put you in the Windows desktop folder.

2017-09-23, 23:58   #31
storm5510
Random Account

Aug 2009
Not U. + S.A.

22·11·53 Posts

Quote:
 Originally Posted by wombatman Change directory is "cd" just as in Windows. The path I gave you will put you in the Windows desktop folder.
The left image is the results of the ls -ls command. Actually, it went on a lot further than this Note: All of this in dark blue, I cannot read.

The second image is where I changed to the root and did a dir. The folder I created is there.

I know how to add a path in a Windows environment. Not here.
Attached Thumbnails

 2017-09-24, 00:19 #32 paulunderwood     Sep 2002 Database er0rr 102758 Posts In a Linux environment your "home directory" is your user name under /home. Mine is /home/paul/ on my system. A word of warning: try not to use the root account unless it is absolutely necessary -- use your user account. Make sure you are logged under your user name with whoami and then you can easily get to your home directory with cd ~, which afterwards you can verify with pwd. Last fiddled with by paulunderwood on 2017-09-24 at 00:23
 2017-09-24, 07:08 #33 storm5510 Random Account     Aug 2009 Not U. + S.A. 22·11·53 Posts I am beginning to think this entire process would have been simpler if I had made a bootable memory-stick. Then again, maybe not. Part of this I can grasp, and remember. Others, not so much.

 Similar Threads Thread Thread Starter Forum Replies Last Post Rodrigo Operation Billion Digits 4 2011-01-02 04:50 ET_ Operation Billion Digits 60 2009-08-26 08:02 ET_ Operation Billion Digits 10 2008-09-17 12:28

All times are UTC. The time now is 06:52.

Sun Oct 2 06:52:06 UTC 2022 up 45 days, 4:20, 0 users, load averages: 1.17, 1.30, 1.17