The Following 43 Users Say Thank You to RenaldoTT For This Useful Post: | ||
AlMehdi, anthonie, bakuur, batman, Berserk, Boemien, bunanson, ceevee, cfh11, cjp, Crashdamage, digital909, El Amir, elie-7, ersanpermana, etuoyo, gabby131, Gabeuk, gazadi, gryedouge, gs1, HafizEmran, HammY, inuyasha0209, jukzh, kulas, lacszo, LippiVan, Mentalist Traceur, moepda, mrbiggzz79, mrt, nerzhul, NokTokDaddy, pavlik, spaak74, Temujin, Texrat, vkv.raju, wakkamis, white_ranger, xtian, zincholic |
|
2010-09-28
, 05:08
|
|
Posts: 122 |
Thanked: 22 times |
Joined on Jun 2010
@ China
|
#2
|
The Following User Says Thank You to jukzh For This Useful Post: | ||
|
2010-09-28
, 05:11
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#3
|
[[Category:Beginners]]
|
2010-09-28
, 05:14
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#4
|
|
2010-09-28
, 05:53
|
|
Posts: 122 |
Thanked: 22 times |
Joined on Jun 2010
@ China
|
#5
|
find -name "*.py" -exec grep -l "python" {} \;
|
2010-09-28
, 06:18
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#6
|
That thing isn't works in n900
Code:find -name "*.py" -exec grep -l "python" {} \;
|
2010-09-28
, 06:22
|
Posts: 1,179 |
Thanked: 770 times |
Joined on Nov 2009
|
#7
|
|
2010-09-28
, 06:22
|
|
Posts: 762 |
Thanked: 395 times |
Joined on Jan 2010
@ Helsinki
|
#8
|
|
2010-09-28
, 08:20
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#9
|
|
2010-09-28
, 09:03
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#10
|
find <path to look in> | grep <word to look for>
find /home/ | grep "xou"
The Following 2 Users Say Thank You to AlMehdi For This Useful Post: | ||
apt-get update = updates local metadata detailing what apps are available in the repsitories
apt-get upgrade -y = upgrades any installed apps with newer versions (the -y is optional and just avoids it prompting you as to whether or not to proceed)
apt-get clean = will remove any dowmloaded package archives. Once the package is installed the dowmloaded file is no longer needed. The App Man does this automatically but if you're using "apt-get" you'll have to do it manually
apt-get autoclean = same as "apt-get clean" but only removes package archives which are obsolete (no longer in repsitories). Having run "apt-get clean it's pointless to run this command.
apt-get autoremove = removes any packages which are no longer needed. These are applications/libraries which were automatically installed because of dependencies but are no longer required
apt-get -f install = installs any missing dependencies (which should fix the broken packages issue I had)
dpkg --configure -a = fixes broken packages
ls -laS / or ls -laS /home/user or ls -laS/home/user/opt = shows you your biggest folders/files in the different locations
rm -r = removes all files or folders in a specific location
rm = removes singular file/folder from a location e.g. "rm -r /home/opt/themes" deletes all folders in the "themes" folder
[tab] key in X Terminal autocompletes words e.g. "rm -r /home/opt/themes/sun[tab] will finish the word as "sunset". Double [tab] would give you all the files starting with "sun". "rm -r /home/opt/[tab][tab] shows you what's in that "themes" folder
dpkg -l = shows you a list of all your programmes including those not visible in App Man
dpkg -P = removes the programme and all its configuration files e.g. "dpkg -P zenbound" uninstalles zenbound
find / = search for a file or folder in the complete system
find /home/user = search for a file or folder in /home/user
| grep <name> = what you're looking for e.g."dpkg -l |grep zen" lists all files in the system starting with "zen"
dpkg -l | awk '{print $2}' grep zen = nicer view
find / |grep zen = find all files with the "zen" beginning
rm -rf /home/opt/rovio/angrybirds/data/levels/pack2 = removes "mypack" custom levels
mkdir /home/opt/rovio/angrybirds/data/levels/pack2 = makes folder called "pack2"
This is the post that lead to this > http://talk.maemo.org/showthread.php?t=62986