Author Topic: FREE Linux Tutorial.  (Read 100629 times)

Offline Pilosopong Tasyo

  • Member
  • **
  • Posts: 159
Re: FREE Linux Tutorial.
« Reply #1440 on: March 20, 2011, 05:09:22 PM »
teka why are you resorting to the CLI when doing it via GUI is easier?  if you are using the Gnome desktop version 2.30 or better, open nautilus with elevated privileges

sudo nautilus

then press F3 (or click View > Extra Pane) to split the nautilus screen.  Now it's all just a matter of changing the location of each pane and do a drag-and-drop.

Offline Pilosopong Tasyo

  • Member
  • **
  • Posts: 159
Re: FREE Linux Tutorial.
« Reply #1441 on: March 20, 2011, 05:22:14 PM »
and one more thing, hindi kaya improper yung pag-gamit mo ng pipe?  you're piping the output of the find command as standard input to the mv command.  the way i understand it, the mv command requires a source and destination as parameters, and not as standard input.  yung mv command mo only has one parameter (the destination directory from what i surmize) pero saan yung source directory mo?

Offline adizero

  • Member
  • **
  • Posts: 259
Re: FREE Linux Tutorial.
« Reply #1442 on: March 20, 2011, 05:31:38 PM »
text base lang ung server namin pre eh.      find / - user  student  |mv /var/student      yung out put sana ng find / -user student   >  ang automatic mamove sa folder /var/student.    we need this sana dahil we have 100 k users and we cant do it one by one.   kya ok sana kung after ma find  all fiules owned by student  mapupunta sya sa /var/student


Offline Pilosopong Tasyo

  • Member
  • **
  • Posts: 159
Re: FREE Linux Tutorial.
« Reply #1443 on: March 20, 2011, 06:05:43 PM »
ah ok i get it.  well, try mo itong suggestion.  instead of using a pipe, gamiting mo ang command substitution.  basically you surround the first command with backquotes and use it as your first parameter in the mv command:

mv `find / - user  student` /var/student

bale ang mangyayari ay the output of the backquoted `find...` command will now serve as your mv command's first n parameter(s). /var/student is the last parameter which, according to the man page for the mv command serves as the destination directory.

pero bago mo gawin yung above changes mag-test ka muna.  make sure that the output of the find command is what you expect.

here's an example:

administrator@asus-a8jn ~ $ ls -l
total 4
drwxr-xr-x 2 administrator administrator 4096 Jan 30 13:36 Desktop
lrwxrwxrwx 1 administrator administrator   15 Jul  1  2010 Documents -> /data/Documents
lrwxrwxrwx 1 administrator administrator   15 Jul  1  2010 Downloads -> /data/Downloads
lrwxrwxrwx 1 administrator administrator   13 Jul  1  2010 Dropbox -> /data/Dropbox
lrwxrwxrwx 1 administrator administrator   15 Jul  2  2010 FrostWire -> /data/FrostWire
lrwxrwxrwx 1 administrator administrator    9 Jul 11  2010 ISO -> /data/ISO
lrwxrwxrwx 1 administrator administrator   11 Jul  1  2010 Music -> /data/Music
lrwxrwxrwx 1 administrator administrator   14 Jul  1  2010 Pictures -> /data/Pictures
lrwxrwxrwx 1 administrator administrator   12 Jul  1  2010 Public -> /data/Public
lrwxrwxrwx 1 administrator administrator   15 Jul  1  2010 Templates -> /data/Templates
lrwxrwxrwx 1 administrator administrator   12 Jul  1  2010 Videos -> /data/Videos
lrwxrwxrwx 1 administrator administrator   14 Jul  1  2010 dwhelper -> /data/dwhelper

administrator@asus-a8jn ~ $ echo "AND THE WINNERS ARE" `ls -l` "COME ON DOWN."
AND THE WINNERS ARE total 4 drwxr-xr-x 2 administrator administrator 4096 Jan 30 13:36 Desktop lrwxrwxrwx 1 administrator administrator 15 Jul 1 2010 Documents -> /data/Documents lrwxrwxrwx 1 administrator administrator 15 Jul 1 2010 Downloads -> /data/Downloads lrwxrwxrwx 1 administrator administrator 13 Jul 1 2010 Dropbox -> /data/Dropbox lrwxrwxrwx 1 administrator administrator 15 Jul 2 2010 FrostWire -> /data/FrostWire lrwxrwxrwx 1 administrator administrator 9 Jul 11 2010 ISO -> /data/ISO lrwxrwxrwx 1 administrator administrator 11 Jul 1 2010 Music -> /data/Music lrwxrwxrwx 1 administrator administrator 14 Jul 1 2010 Pictures -> /data/Pictures lrwxrwxrwx 1 administrator administrator 12 Jul 1 2010 Public -> /data/Public lrwxrwxrwx 1 administrator administrator 15 Jul 1 2010 Templates -> /data/Templates lrwxrwxrwx 1 administrator administrator 12 Jul 1 2010 Videos -> /data/Videos lrwxrwxrwx 1 administrator administrator 14 Jul 1 2010 dwhelper -> /data/dwhelper COME ON DOWN.

reference for further reading: http://www.injunea.demon.co.uk/pages/page206.htm

HTH.

Offline pythonista

  • Member
  • **
  • Posts: 2336
Re: FREE Linux Tutorial.
« Reply #1444 on: March 20, 2011, 06:48:31 PM »
You need to use the -exec option in find or xargs. Read about it here -- http://www.softpanorama.org/Tools/Find/using_exec_option_and_xargs_in_find.shtml

Offline pythonista

  • Member
  • **
  • Posts: 2336
Re: FREE Linux Tutorial.
« Reply #1445 on: March 21, 2011, 08:07:38 AM »
current hot topic in the desktop linux world now is this ~200 line patch to the kernel that improves desktop interactivity.
http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1

for those who do not want to compile the kernel, there is a userspace alternative that achieves a similar effect.
http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html

tested the 2nd method on Mint 10, flash playback and some javascript animations are much smoother. i think it did make my cpu warmer though, will test it out more.

Kernel 2.6.38 just merged this patch already.

http://kernelnewbies.org/Linux_2_6_38#head-59575a6aeafa38490226a560ee02de89829a5b20

Waiting for archlinux to do a rolling release for this. :)

Offline adizero

  • Member
  • **
  • Posts: 259
Re: FREE Linux Tutorial.
« Reply #1446 on: March 21, 2011, 09:32:24 PM »
thanks pythonista and Pilosopong Tasyo

ok na itong  "mv `find / - user  student` /var/student"    =D  salamat!

Offline adizero

  • Member
  • **
  • Posts: 259
Re: FREE Linux Tutorial.
« Reply #1447 on: March 21, 2011, 09:35:00 PM »
New question.    pwede ba ma ilock ung group user?   let say   "lgroupmod -L GRPstudentA"    we try pero prang may access padin ung group.

gus2 namin sana ung nalolock like usermod -L student


2.)  pwede ba makita ung current status ng user and group  in terms of lock ba sya or hindi?

we try un mga option pero walang status na param.     

Online borgy_t

  • Member
  • **
  • Posts: 2045
  • challenge accepted
Re: FREE Linux Tutorial.
« Reply #1448 on: March 21, 2011, 10:54:09 PM »
openSUSE 11.4 is out. thinking if i should give it a try but there's a problem running it in Virtualbox currently.
Intel Core i5-4440 w/ Deepcool Ice Edge Mini FS 2.0 | Asus B85M-G | Zotac Geforce GTX960 2GB (128-bit) | G-Skill Ripjaws 16GB DDR3 1600 | Samsung 850 EVO 500GB | Mushkin Reactor 1TB | Dell U2311H | Corsair VS550 | Tecware Alpha | SteelSeries Rival 300 | SteelSeries Apex M500 (Cherry MX Blue)

Online borgy_t

  • Member
  • **
  • Posts: 2045
  • challenge accepted
Re: FREE Linux Tutorial.
« Reply #1449 on: July 17, 2011, 10:10:48 AM »
does anyone have a copy of, or know where to get the wallpapers used in these screenshots of the orta theme? it's not included in the package...

http://skiesofazel.deviantart.com/art/Orta-184118297

EDIT: found it already  :happy: for anyone who wants it, it's here:
http://sword1ne.deviantart.com/art/Surface-I-Wallpaper-152712508
Intel Core i5-4440 w/ Deepcool Ice Edge Mini FS 2.0 | Asus B85M-G | Zotac Geforce GTX960 2GB (128-bit) | G-Skill Ripjaws 16GB DDR3 1600 | Samsung 850 EVO 500GB | Mushkin Reactor 1TB | Dell U2311H | Corsair VS550 | Tecware Alpha | SteelSeries Rival 300 | SteelSeries Apex M500 (Cherry MX Blue)

Offline aries2011

  • Semi-Newbie
  • *
  • Posts: 26
Re: FREE Linux Tutorial.
« Reply #1450 on: June 20, 2012, 02:24:40 PM »
Basic command to know Hardware Specs on Linux System

Offline andy_cul

  • Member
  • **
  • Posts: 133
Re: FREE Linux Tutorial.
« Reply #1451 on: December 28, 2012, 07:03:57 AM »

ano command sa pag delete ng files na may filename na original.* sa loob ng isang folder? madami kasing ganung file na nakakalat sa mga subfolders nya.


rm -rfv original.* ganito ba?

Online borgy_t

  • Member
  • **
  • Posts: 2045
  • challenge accepted
Re: FREE Linux Tutorial.
« Reply #1452 on: December 28, 2012, 02:06:45 PM »
yes
Intel Core i5-4440 w/ Deepcool Ice Edge Mini FS 2.0 | Asus B85M-G | Zotac Geforce GTX960 2GB (128-bit) | G-Skill Ripjaws 16GB DDR3 1600 | Samsung 850 EVO 500GB | Mushkin Reactor 1TB | Dell U2311H | Corsair VS550 | Tecware Alpha | SteelSeries Rival 300 | SteelSeries Apex M500 (Cherry MX Blue)

Offline computerscieduca

  • Semi-Newbie
  • *
  • Posts: 6
Re: FREE Linux Tutorial.
« Reply #1453 on: May 30, 2013, 07:32:50 PM »
haha sa akin Linux Deepen fast Boot OS  siya nang Linux

Offline macpctech

  • Semi-Newbie
  • *
  • Posts: 7
Re: FREE Linux Tutorial.
« Reply #1454 on: January 13, 2014, 07:48:33 AM »
hi guys,


wala po bang links sa mga nagsisimula pa lang mag aral ng linux
pwedeng i download at mapag praktisan (emulators...)...thanks

Offline joelbryan

  • Member
  • **
  • Posts: 239
    • joelbryan.com
Re: FREE Linux Tutorial.
« Reply #1455 on: April 27, 2014, 06:56:23 PM »
Buhay pa pala itong forum na ito, nakakatuwa naman. :-)

@macpctech: Best way to learn linux IMHO, https://wiki.archlinux.org/index.php/beginners'_guide
or LNAG (Linux Newbie Administrator Guide)

Offline eric.ehao@gmail.com

  • Member
  • **
  • Posts: 105
Re: FREE Linux Tutorial.
« Reply #1456 on: April 27, 2016, 11:28:35 AM »
Now I can review my college days.. thnx to this :)

Offline kissesmuahmuah

  • Semi-Newbie
  • *
  • Posts: 32
  • Chanting away from my doom..
Re: FREE Linux Tutorial.
« Reply #1457 on: October 10, 2017, 12:48:07 PM »
linux tutorial, ano gamit mo? advise ko sayo mas ok mag opensuse

Offline kissesmuahmuah

  • Semi-Newbie
  • *
  • Posts: 32
  • Chanting away from my doom..
Re: FREE Linux Tutorial.
« Reply #1458 on: October 10, 2017, 12:50:15 PM »
bootable USB lang ba gamit mo?

Offline berdugoh

  • Member
  • **
  • Posts: 1114
Re: FREE Linux Tutorial.
« Reply #1459 on: November 08, 2017, 09:40:17 AM »
I have been using Linux Mint 18.2 for a while now.. any tweaks or suggestions?.. Thanks!