Computing desk | ||
---|---|---|
< May 16 | << Apr | May | Jun >> | May 18 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I have an iMac running El Capitan with the latest version of iTunes. I'm trying to copy the music on the CD into iTunes (the CD shows up in iTunes). "Copy" doesn't work. How do I import them? — Melab±1 ☎ 00:04, 17 May 2016 (UTC)
I'm not exactly a newbie to the Raspberry Pi, but have not been able to make much use of it. The problem is that permission to save changes is denied after a file has been edited, so the effect is that I cannot edit files. I'm also not permitted to change file permissions. Setting myself as Superuser (sudo su) doesn't help. What next? Akld guy ( talk) 03:43, 17 May 2016 (UTC) The file that I particularly want to edit is in a folder in the /etc directory, if that helps diagnosis. Akld guy ( talk) 03:52, 17 May 2016 (UTC)
chmod +w ./ax25
does not "set write permission on every file in folder ax25". What it does is set your ability to create and delete files in folder ax25.chmod 775 /etc/ax25
to make sure the permissions on that folder are sane. (It's likely they got into a really weird state while you were flailing around.)cd /etc/ax25
. Now you're "in" that folder, so you can manipulate its files more easily. (Not being "in" the folder shouldn't have prevented you from doing anything, but it's way more convenient not to have to type "./ax25" all the time.)ls -ld / ls -ld /etc ls -ld /etc/ax25 ls -l /etc/ax25
chmod 775 /etc/ax25
with no problem, then the cd /etc/ax25
and got the report: cd: command not found.cd /
, cd etc
, cd ax25
.sudo chmod +rwx axports
, sudo chmod g+rwx axports
, and sudo chmod o+rwx axports
. I did the same for axports.1. In other words I had to set all three, and it was successful. I now would like to know how axports and axports.1 differ. As I understand it, axports.1 is the readable file, with axports as a kind of dummy?
Akld guy (
talk) 15:03, 17 May 2016 (UTC)cd /etc/ax25
and got "cd: command not found". I'm sorry, but that's nearly impossible. Then you said that the sequence cd /
, cd etc
, cd ax25
worked -- and now what you've told me is completely impossible! It's very hard for the cd command to be missing, and the fact that it worked when you did it in three steps proves that the cd command is present. So -- and again, I'm sorry if it sounds like I'm accusing you -- you either didn't exactly type cd /etc/ax25
, or you didn't exactly get the message "cd: command not found". (Possibly both.)cd /etc/ax25
and cd /
, cd etc
, cd ax25
both work, whether I'm Superuser or not. I can only assume I might have already been in / or even /etc/ax25 itself when I tried the former method. The latter method does indeed work, and it might pay to remember that the Raspberry Pi may do things differently in its Debian version than other Linux versions.service ax25 start
gives error message Unit ax25.service failed to load: No such file or directory.
Akld guy (
talk) 19:37, 17 May 2016 (UTC)cd /etc/ax25
; the leading /
makes it an absolute (as opposed to a relative) path.service
command runs a script in /etc/init.d
. In your case, we can tell that there's a script there called ax25
. It's likely that this script tries to start an actual program that performs the ax25 service, and it's likely that the actual program is missing, and is resulting in the "service failed to load: No such file or directory" message. (There's a cardinal rule of Unix error messages -- one that's tragically often broken, and is in fact being broken here -- which is that when a program prints an error message like "No such file or directory", it is always supposed to also print the name of the file or directory it was trying to open. Without that, it's very hard to figure out what the missing file is, and how to repair it.) —
Steve Summit (
talk) 20:49, 17 May 2016 (UTC)Just one point. The command
$ chmod +w ./ax25
does not "set write permission on every file in folder ax25", as claimed above. It sets write permission only on the directory (folder) ax25 itself. If you want to affect the directory and all the files under it, you need to use the -R
(recursive) option. That is:
$ chmod -R +w ./ax25
At leastm this is true on any UNIX/Linux version I've used for many years, and I assume it applies equally to the Raspberry Pi. -- 69.159.60.83 ( talk) 21:36, 17 May 2016 (UTC)
sudo vim yourfilename
to edit the file rather than change the permissions. To move a file, do (sudo if necessary) mv origin_filename destination_filename
. It may be better to simply make symlinks if you think there is any chance other programs depend on those files living on those places. You can make a symlink with ln -s real_file_path desired_link_path
2001:630:12:2428:B437:CFEC:FB82:E32 (
talk) 02:58, 18 May 2016 (UTC)@ Scs: Follow up: The Raspberry Pi (original model B) running Raspbian (a cut down version of Debian) does not behave according to Debian command lists. Some commands are inoperative. Thanks to those who responded. I'm going to erase the SD card, download Raspbian, and start again. Akld guy ( talk) 17:47, 19 May 2016 (UTC) Edited Akld guy ( talk) 05:05, 20 May 2016 (UTC)
I know that there are 16 raised to the 6th power (equaling nearly 17 million) hex colors and hex color codes. In other words, quite a lot. Is there any website that lists all or nearly all -- or even a real lot -- of them? Also, is there any website where I can type in the color code, and it will give me the name of the color? For example, I type in "2D5A8B" (or whatever) and it returns "light green" (or whatever)? I have checked out most (all?) of the relevant Wikipedia articles, I think. It's easy to find small samples and smatterings here and there. What I would ideally like is a list that starts at Color # 1 (which I guess is 000000) and lists all the way down to Color # 17 million (which I guess is FFFFFF). And it shows the incremental darkening (or lightening) of the color spectrum. Even if it does not do so by increments of "1" necessarily. In other words, it incrementally goes through all of the colors in order as they increase from light to dark (or vice versa). Thanks. Joseph A. Spadaro ( talk) 04:08, 17 May 2016 (UTC)
Hi please recommend disk cloning software that is able to make a copy of an SSD boot drive to another SSD drive, and the target must be bootable and have all the Windows 10 system files of the source. Preferably not expensive. Norton Ghost is not an option as that is quite costly I believe, and this is a once-off exercise. Thanks. Sandman1142 ( talk) 12:11, 17 May 2016 (UTC)
Hey wikipedians,
I am writing my bibliography for a paper (due soon!) and for just one of my entries I cannot get all the lines except the first one to be indented, as is required. Ctrl+t puts the entire entry all the way on the left, and spacing for the second line and under doesn't work at the beginning of the line. I am discombobulated and confused. — Preceding unsigned comment added by 140.233.173.11 ( talk) 12:28, 17 May 2016 (UTC)
Sorry - word 2010 — Preceding unsigned comment added by 140.233.173.11 ( talk) 12:58, 17 May 2016 (UTC)
Thanks! I got it to work. — Preceding unsigned comment added by 140.233.173.11 ( talk) 15:21, 17 May 2016 (UTC)
StuRat ( talk) 16:11, 17 May 2016 (UTC)
The BBC have announced that they are removing the index to their recipe pages, and it seems they're removing them from web searches ( see here). But they're not removing the actual recipes. How does this save them anything? Rojomoke ( talk) 17:06, 17 May 2016 (UTC)
Computing desk | ||
---|---|---|
< May 16 | << Apr | May | Jun >> | May 18 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I have an iMac running El Capitan with the latest version of iTunes. I'm trying to copy the music on the CD into iTunes (the CD shows up in iTunes). "Copy" doesn't work. How do I import them? — Melab±1 ☎ 00:04, 17 May 2016 (UTC)
I'm not exactly a newbie to the Raspberry Pi, but have not been able to make much use of it. The problem is that permission to save changes is denied after a file has been edited, so the effect is that I cannot edit files. I'm also not permitted to change file permissions. Setting myself as Superuser (sudo su) doesn't help. What next? Akld guy ( talk) 03:43, 17 May 2016 (UTC) The file that I particularly want to edit is in a folder in the /etc directory, if that helps diagnosis. Akld guy ( talk) 03:52, 17 May 2016 (UTC)
chmod +w ./ax25
does not "set write permission on every file in folder ax25". What it does is set your ability to create and delete files in folder ax25.chmod 775 /etc/ax25
to make sure the permissions on that folder are sane. (It's likely they got into a really weird state while you were flailing around.)cd /etc/ax25
. Now you're "in" that folder, so you can manipulate its files more easily. (Not being "in" the folder shouldn't have prevented you from doing anything, but it's way more convenient not to have to type "./ax25" all the time.)ls -ld / ls -ld /etc ls -ld /etc/ax25 ls -l /etc/ax25
chmod 775 /etc/ax25
with no problem, then the cd /etc/ax25
and got the report: cd: command not found.cd /
, cd etc
, cd ax25
.sudo chmod +rwx axports
, sudo chmod g+rwx axports
, and sudo chmod o+rwx axports
. I did the same for axports.1. In other words I had to set all three, and it was successful. I now would like to know how axports and axports.1 differ. As I understand it, axports.1 is the readable file, with axports as a kind of dummy?
Akld guy (
talk) 15:03, 17 May 2016 (UTC)cd /etc/ax25
and got "cd: command not found". I'm sorry, but that's nearly impossible. Then you said that the sequence cd /
, cd etc
, cd ax25
worked -- and now what you've told me is completely impossible! It's very hard for the cd command to be missing, and the fact that it worked when you did it in three steps proves that the cd command is present. So -- and again, I'm sorry if it sounds like I'm accusing you -- you either didn't exactly type cd /etc/ax25
, or you didn't exactly get the message "cd: command not found". (Possibly both.)cd /etc/ax25
and cd /
, cd etc
, cd ax25
both work, whether I'm Superuser or not. I can only assume I might have already been in / or even /etc/ax25 itself when I tried the former method. The latter method does indeed work, and it might pay to remember that the Raspberry Pi may do things differently in its Debian version than other Linux versions.service ax25 start
gives error message Unit ax25.service failed to load: No such file or directory.
Akld guy (
talk) 19:37, 17 May 2016 (UTC)cd /etc/ax25
; the leading /
makes it an absolute (as opposed to a relative) path.service
command runs a script in /etc/init.d
. In your case, we can tell that there's a script there called ax25
. It's likely that this script tries to start an actual program that performs the ax25 service, and it's likely that the actual program is missing, and is resulting in the "service failed to load: No such file or directory" message. (There's a cardinal rule of Unix error messages -- one that's tragically often broken, and is in fact being broken here -- which is that when a program prints an error message like "No such file or directory", it is always supposed to also print the name of the file or directory it was trying to open. Without that, it's very hard to figure out what the missing file is, and how to repair it.) —
Steve Summit (
talk) 20:49, 17 May 2016 (UTC)Just one point. The command
$ chmod +w ./ax25
does not "set write permission on every file in folder ax25", as claimed above. It sets write permission only on the directory (folder) ax25 itself. If you want to affect the directory and all the files under it, you need to use the -R
(recursive) option. That is:
$ chmod -R +w ./ax25
At leastm this is true on any UNIX/Linux version I've used for many years, and I assume it applies equally to the Raspberry Pi. -- 69.159.60.83 ( talk) 21:36, 17 May 2016 (UTC)
sudo vim yourfilename
to edit the file rather than change the permissions. To move a file, do (sudo if necessary) mv origin_filename destination_filename
. It may be better to simply make symlinks if you think there is any chance other programs depend on those files living on those places. You can make a symlink with ln -s real_file_path desired_link_path
2001:630:12:2428:B437:CFEC:FB82:E32 (
talk) 02:58, 18 May 2016 (UTC)@ Scs: Follow up: The Raspberry Pi (original model B) running Raspbian (a cut down version of Debian) does not behave according to Debian command lists. Some commands are inoperative. Thanks to those who responded. I'm going to erase the SD card, download Raspbian, and start again. Akld guy ( talk) 17:47, 19 May 2016 (UTC) Edited Akld guy ( talk) 05:05, 20 May 2016 (UTC)
I know that there are 16 raised to the 6th power (equaling nearly 17 million) hex colors and hex color codes. In other words, quite a lot. Is there any website that lists all or nearly all -- or even a real lot -- of them? Also, is there any website where I can type in the color code, and it will give me the name of the color? For example, I type in "2D5A8B" (or whatever) and it returns "light green" (or whatever)? I have checked out most (all?) of the relevant Wikipedia articles, I think. It's easy to find small samples and smatterings here and there. What I would ideally like is a list that starts at Color # 1 (which I guess is 000000) and lists all the way down to Color # 17 million (which I guess is FFFFFF). And it shows the incremental darkening (or lightening) of the color spectrum. Even if it does not do so by increments of "1" necessarily. In other words, it incrementally goes through all of the colors in order as they increase from light to dark (or vice versa). Thanks. Joseph A. Spadaro ( talk) 04:08, 17 May 2016 (UTC)
Hi please recommend disk cloning software that is able to make a copy of an SSD boot drive to another SSD drive, and the target must be bootable and have all the Windows 10 system files of the source. Preferably not expensive. Norton Ghost is not an option as that is quite costly I believe, and this is a once-off exercise. Thanks. Sandman1142 ( talk) 12:11, 17 May 2016 (UTC)
Hey wikipedians,
I am writing my bibliography for a paper (due soon!) and for just one of my entries I cannot get all the lines except the first one to be indented, as is required. Ctrl+t puts the entire entry all the way on the left, and spacing for the second line and under doesn't work at the beginning of the line. I am discombobulated and confused. — Preceding unsigned comment added by 140.233.173.11 ( talk) 12:28, 17 May 2016 (UTC)
Sorry - word 2010 — Preceding unsigned comment added by 140.233.173.11 ( talk) 12:58, 17 May 2016 (UTC)
Thanks! I got it to work. — Preceding unsigned comment added by 140.233.173.11 ( talk) 15:21, 17 May 2016 (UTC)
StuRat ( talk) 16:11, 17 May 2016 (UTC)
The BBC have announced that they are removing the index to their recipe pages, and it seems they're removing them from web searches ( see here). But they're not removing the actual recipes. How does this save them anything? Rojomoke ( talk) 17:06, 17 May 2016 (UTC)