|
Linuxera
|
 |
« Reply #45 on: January 14, 2010, 05:56:19 AM » |
|
So......how is everyone doing with their resolutions? Mine was to use some console commands. I did pretty well with the ls and mkdir. And I can move around....cd....without too much trouble. Then I tried cp and I lost a file.  I have no idea where it is. It's just gone. Well, it seems to me if you weren't exactly specific about what you were copying or where you were copying to, then nothing happened and that's why you can't find it. As long as you stay away from rm you should be okay. Oh, try looking in the root folder too. I've had things pop up there a time or two... lol 
|
|
|
|
|
Logged
|
The "Exquisite E17 Bunch Club" is to PCLinuxOS what the "Buena Vista Social Club" is to Cuban Son. 
|
|
|
|
Was_Just19
|
 |
« Reply #46 on: January 14, 2010, 06:10:38 AM » |
|
Then I tried cp and I lost a file.  I have no idea where it is. It's just gone. Try another command to find it ...... locate
|
|
|
|
|
Logged
|
|
|
|
|
ms_meme
|
 |
« Reply #47 on: January 14, 2010, 08:08:26 AM » |
|
Well, it seems to me if you weren't exactly specific about what you were copying or where you were copying to, then nothing happened and that's why you can't find it. As long as you stay away from rm you should be okay. Oh, try looking in the root folder too. I've had things pop up there a time or two... lol  No, I didn't use the mv command. That was the next lesson.  The thing is the cp command worked when I applied it to the practice folder/files I made. Then when I applied it to something important..poof.  If Root wants that file...he is welcome to it. Try another command to find it ...... locate I did try the locate command as you suggested and I found a file with that name. The only problem was it was not the file I lost. I must have named 2 different files in 2 different places the same name. I seem to recall something about.....the console keeps a record of all the back commands??? If so how do I access that record? I would really like to see what I did....so I don't do it again.  I was using the terminal that appears Window/Show Terminal Emulator. I was following a tutorial and wanted to be sure I could see what I was doing...........  Or I could just go back and start the tutorial all over again which would mean I would have to extend my resolution past the 4 week commitment. 
|
|
|
|
|
Logged
|
|
|
|
|
7272andy
|
 |
« Reply #48 on: January 14, 2010, 08:19:14 AM » |
|
ms_meme, just use the up and down arrows on your keyboard to review the previously typed commands.
Andy
|
|
|
|
|
Logged
|
|
|
|
|
ms_meme
|
 |
« Reply #49 on: January 14, 2010, 08:35:59 AM » |
|
ms_meme, just use the up and down arrows on your keyboard to review the previously typed commands.
Andy
Yes, thank you. I do see the previous commands...all written in Greek...  But they appear only one at a time. Is there a way to see them in a sequence of more than 1 at a time? Don't mean to turn this topic into a How To.  At least I am fulfilling my resolution and learning some new command stuff. 
|
|
|
|
|
Logged
|
|
|
|
|
ms_meme
|
 |
« Reply #50 on: January 14, 2010, 08:44:55 AM » |
|
I FOUND IT!! I FOUND IT!!!!!!!!!!!! The missing file!!! Now to figure out what I did...right or wrong. 
|
|
|
|
|
Logged
|
|
|
|
|
Mike
|
 |
« Reply #51 on: January 14, 2010, 09:08:36 AM » |
|
|
|
|
|
|
Logged
|
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
~Abraham Lincoln~
"PCLinuxOS " Joe Gable, "Joble" was my "Friend" Linux Counter #288984
|
|
|
|
7272andy
|
 |
« Reply #52 on: January 14, 2010, 09:20:08 AM » |
|
ms_meme, just use the up and down arrows on your keyboard to review the previously typed commands.
Andy
Yes, thank you. I do see the previous commands...all written in Greek...  But they appear only one at a time. Is there a way to see them in a sequence of more than 1 at a time? Don't mean to turn this topic into a How To.  At least I am fulfilling my resolution and learning some new command stuff.  There is a hidden file in your Home directory called .bash_history, if you open that you will see all the commands you have typed in your various console sessions. At least you've found your file now, I could hear you from the Sandbox 
|
|
|
|
|
Logged
|
|
|
|
|
ms_meme
|
 |
« Reply #53 on: January 14, 2010, 09:41:12 AM » |
|
IF and WHEN you finally learn something..........we will expect just a little whisper!! Just kidding.  That's what my husband said too.  I looked in the bash history. It seems that mv also can rename a file. Haven't figured out the rest but learned not to play with the important stuff. Here is the sequence....not that anybody cares... mv mandala.jpg mandala2.jpg mv mandala2.jpg Videos cd Videos/ ls mv mandala2.jpg homethe mandala changed to mandala2....then got moved to the video folder.....then got changed to be named 'home'  I think what I was trying to do was move the mandals2 file back into my home file and I didn't know how and then lost the file. But that was yesterday....and I really can't be sure of anything I was trying to do yesterday. 
|
|
|
|
|
Logged
|
|
|
|
|
7272andy
|
 |
« Reply #54 on: January 14, 2010, 09:58:09 AM » |
|
The last line should have read either;
mv mandala2.jpg $HOME
or
mv mandala2.jpg ~
either command will give the same result
|
|
|
|
|
Logged
|
|
|
|
|
Mike
|
 |
« Reply #55 on: January 14, 2010, 11:38:48 AM » |
|
|
|
|
|
|
Logged
|
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
~Abraham Lincoln~
"PCLinuxOS " Joe Gable, "Joble" was my "Friend" Linux Counter #288984
|
|
|
|
pags
|
 |
« Reply #56 on: January 14, 2010, 02:02:05 PM » |
|
ms_meme, just use the up and down arrows on your keyboard to review the previously typed commands.
Andy
Yes, thank you. I do see the previous commands...all written in Greek...  But they appear only one at a time. Is there a way to see them in a sequence of more than 1 at a time? Don't mean to turn this topic into a How To.  At least I am fulfilling my resolution and learning some new command stuff.  There is a hidden file in your Home directory called .bash_history, if you open that you will see all the commands you have typed in your various console sessions. At least you've found your file now, I could hear you from the Sandbox  You can also type: history at your command prompt, and it will list your history, with line numbers to the left of each command. You can use: !### where ### = the line number of the command, and it will be executed as if you typed (or arrowed up to) the whole line again. So, for instance: [jpaglia@core2pclinuxos ~]$ history ... 993 nano -w Documents/Samuel/InfoHR/TSUsers.txt 994 glxinfo | grep render 995 glxgears 996 exit 997 rdesktop-vrdp 172.23.62.51 -z 998 exit 999 history [jpaglia@core2pclinuxos ~]$!994 glxinfo | grep render Xlib: extension "Generic Event Extension" missing on display ":0.0". direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) OpenGL renderer string: Mesa GLX Indirect [jpaglia@core2pclinuxos ~]$
I know...ignore the fact that DRI not enable! 
|
|
|
|
|
Logged
|
|
|
|
|
ms_meme
|
 |
« Reply #57 on: January 15, 2010, 06:54:49 AM » |
|
 Remember those little colored hearts That you used to give in school They said all kinds of lovey stuff You thought they were so cool Now here's your opportunity To show PCLOS you really care Think of a little saying And on a heart...I'll put it there Now don't forget to do this Don't put it on the shelf Because if there are no love notes I'll just have to do 'em myself  Here's the plan for the Forum Foibles section of the PCLinuxOS Magazine. Think of a tiny silly saying..Linux, PCLOS or computer inspired. It must be short enough for me to get it on a little valentine heart. You can post your suggestions here. A couple of examples to give you an idea of what I mean.  If the Editor-in-Chief approves your message, you will see it in the February magazine. 
|
|
|
|
|
Logged
|
|
|
|
|
parnote
|
 |
« Reply #58 on: January 15, 2010, 08:53:51 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Mike
|
 |
« Reply #59 on: January 15, 2010, 09:23:41 AM » |
|
PCLOS #1
|
|
|
|
|
Logged
|
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
~Abraham Lincoln~
"PCLinuxOS " Joe Gable, "Joble" was my "Friend" Linux Counter #288984
|
|
|
|