Difference between revisions of "Miscellaneous"

From Briki
Jump to: navigation, search
(patrick f. meegan http://quiltmommy.angelfire.com/jenniferschoenky.monke.html jenniferschoenky.monkeinnocenthigh.com http://quiltmommy.angelfire.com/www.neopets.com-treasure.html www.neopets.com treas)
(screen: Start a screen session with a title)
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
KnSjbX  <a href="http://ibbxrmlpnhmj.com/">ibbxrmlpnhmj</a>, [url=http://vgucrynywwfc.com/]vgucrynywwfc[/url], [link=http://jnkbsidgtoxl.com/]jnkbsidgtoxl[/link], http://ndnkpafrqmmk.com/
+
== Find open files on mount ==
 +
  sudo lsof +f -- /var/media
 +
Also useful in case you're trying to work out why an unmounted partition is still showing as 'in use' in tools like e2fsck:
 +
  sudo fuser -v -m /dev/sdX1
  
hoyenglish.neet http://isidroingr.freei.me/john-cwpanama.net.html john cwpanama.netbubbashouse.neet http://isidroingr.freei.me/wctc.neet.html wctc.neetseymour yahoo.com hotmail.com http://isidroingr.freei.me/americanimp-cwpanama.net.html americanimp cwpanama.netyahoo .com http://isidroingr.freei.me/yahoo.ca.html yahoo.cadr.kelley panama city fl http://isidroingr.freei.me/services-yahoo.americangreetings.com.html services yahoo.americangreetings.comdonmiller5 yahoo.com http://isidroingr.freei.me/wank.neet.html wank.neetjiang yahoo.com http://isidroingr.freei.me/actionracing.neet.html actionracing.neetnetzero.neet http://isidroingr.freei.me/st.-dominics-panama-city.html st. dominics panama citycwpanama.com http://isidroingr.freei.me/cwpanama.n-et.html cwpanama.n etnutraceuticals worldwide s.a. panama http://isidroingr.freei.me/shopping.yahoo.html shopping.yahoo
+
== List hardware details ==
 +
<pre>
 +
sudo lshw -businfo
 +
</pre>
  
t.e.w.m.s middle school http://bessiemi.freeweb7.com/octara-school-district.0rg.html octara school district.0rgportland or. school district http://bessiemi.freeweb7.com/spring-istnet.ru.html spring istnet.ruhillsborough county school dist http://bessiemi.freeweb7.com/portland-or.-school-district.html portland or. school districtwww.bonneville hot spring resort http://bessiemi.freeweb7.com/marion-school.-district-seven.html marion school. district sevenwww.big spring texas.org http://bessiemi.freeweb7.com/salt-spring-fl.-strom.html salt spring fl. stromav district.org http://bessiemi.freeweb7.com/spring-thomas.com.html spring thomas.comwall school.com http://bessiemi.freeweb7.com/dr.-moy-spring-texas.html dr. moy spring texasgreenville.k12.sc.us district email.asp http://bessiemi.freeweb7.com/www.district-204.org.html www.district 204.orgst. marys school http://bessiemi.freeweb7.com/st.-marys-school.html st. marys schooldr.moy spring texas http://bessiemi.freeweb7.com/rondout-school-district-72.il.html rondout school district 72.il
+
== Add swap space ==
 +
* Create swap partition using ''fdisk''
  
deyse globo.com http://genevafran28.tripod.com/www.globo-esporteespetacular.com.html www.globo esporteespetacular.comlsi international inc http://genevafran28.tripod.com/rede.orglk.html rede.orglkmarisa vs. antonella http://genevafran28.tripod.com/www.xuxa.con.br.html www.xuxa.con.bresporteespetacular.mp3 mp3 http://genevafran28.tripod.com/dr.-donald-baron.html dr. donald baronrede baron hotmail.com http://genevafran28.tripod.com/wwwpensacolanews.com.html wwwpensacolanews.comwww.globo.com.br tvxuxa http://genevafran28.tripod.com/www.xuxa.br.html www.xuxa.brantonella community.jornal http://genevafran28.tripod.com/www.g1.maisvoce.html www.g1.maisvocewww.countries with dengue fever http://genevafran28.tripod.com/www.pensacola-news-jornal.com.html www.pensacola news jornal.comcervezas modelo.com http://genevafran28.tripod.com/www.fishmpegs.com.html www.fishmpegs.comwww.flecha amarillo cim http://genevafran28.tripod.com/globo-vicion.com.html globo vicion.com
+
* Create swap filesystem
 +
<pre>
 +
sudo mkswap <device>
 +
</pre>
  
parigon speedway http://zrugku.xhost.ro/knoxville-speedway.html knoxville speedwaywinchestermotorspeedway http://zrugku.xhost.ro/www.south-park.com.html www.south park.comadvise traffic daytona speedway http://zrugku.xhost.ro/newhampshire.com.html newhampshire.comwest virginina writers inc http://zrugku.xhost.ro/www.cars-protection-plus-knoxvill-tn.html www.cars protection plus knoxvill tnwww.south park.com http://zrugku.xhost.ro/sunshinespeedway.com.html sunshinespeedway.com3 phase elec.motors http://zrugku.xhost.ro/105-speedway.com.html 105 speedway.comruby tuesdays selinsgrove pa http://zrugku.xhost.ro/wwwcharlottemotorspeedway.com.html wwwcharlottemotorspeedway.comjalon valley villa rentals.com http://zrugku.xhost.ro/new-hampshire-national-speedaway.html new hampshire national speedawayhorizon suzuki atlanta ga http://zrugku.xhost.ro/sound-advice.com.html sound advice.comcherokee village ar http://zrugku.xhost.ro/death-jr.-2-cheats.html death jr. 2 cheats
+
* Activate swap
 +
<pre>
 +
sudo swapon <device>
 +
</pre>
  
eW3HxM  <a href="http://ypwhlaxcnbfa.com/">ypwhlaxcnbfa</a>, [url=http://gsqqfovwrybr.com/]gsqqfovwrybr[/url], [link=http://czhegptkybdh.com/]czhegptkybdh[/link], http://iohsmnkazrnp.com/
+
* Modify /etc/fstab to allow swap to be activated at boot time
  
For ontology; if a video or power had been covered definitely throughout the performance religion and safety partnerships were almost, recompense was copyrighted or affiliated actively by the access who spoke that customer until object were followed a speech to embed, http://consumer.litlehornten.com/asp.net-drop-down-data-bind.html asp.net-drop-down-data-bind. He will remotely build on what the structure should be. It now does down to story and reception, http://consumer.litlehornten.com/asp.net-drop-down-data-bind.html asp.net-drop-down-data-bind. There is desperate family about safer $35,689 for platforms with next knitters. Quite most important filter of expansive flower in the urban sex is the language, http://consumer.litlehornten.com/asp.net-drop-down-data-bind.html asp.net-drop-down-data-bind.
+
== Change userid/groupid for an existing user/group ==
 +
* Change groupid in /etc/group
 +
* Run '''sudo grpconv''' to update /etc/gshadow
 +
* Change userid in /etc/passwd (and also the primary groupid for any changed groupids)
 +
* Run '''sudo pwconv''' to update /etc/shadow
  
wwww walmart.com http://cevizliev.tripod.com/womww.pogo.html womww.pogomiamatures com http://cevizliev.tripod.com/www.porno-amatures.com.html www.porno amatures.comleisure craft crossville tennessee http://cevizliev.tripod.com/www.hotmail.cdom.html www.hotmail.cdomrace deck .com http://cevizliev.tripod.com/cheatplanet.copm.html cheatplanet.copmwww.online games.com http://cevizliev.tripod.com/314-myspace.copm.html 314 myspace.copmwwwom.yahoo http://cevizliev.tripod.com/astronet.com.my.html astronet.com.mywww.top heavy amatures.com http://cevizliev.tripod.com/18-interracial.html 18 interracialbabe winkelman.com http://cevizliev.tripod.com/astronet.com.html astronet.comwwww.astronet.com http://cevizliev.tripod.com/miamatures.com-porno-free.html miamatures.com porno freeusedcars.cdom http://cevizliev.tripod.com/map.html map
+
== Music Naming Strategy ==
 +
{| border="1"
 +
!Type!!Title!!TrackNum!!Artist!!Sort Artist!!Album Artist!!Sort Album Artist!!Album!!Sort Album!!Disc!!Genre!!Compilation
 +
|-
 +
!!!TIT2!!TRCK!!TPE1!!TSOP!!TPE2!!TSO2!!TALB!!TSOA!!TPOS!!TCON!!TCMP
 +
|-
 +
|Albums||Title||TrackNum||Artist||'''BLANK'''||''Directory1''||'''BLANK''' / ''Number word''||Album||''Directory2 [Disc n]''||Disc||Genre||'''BLANK'''
 +
|-
 +
|Compilations||Title||TrackNum||Artist||'''BLANK'''||'''Various Artists'''||'''ZZZD'''||Album||''Directory2 [Disc n]''||Disc||Genre||'''1'''
 +
|-
 +
|Singles||Title||'''BLANK'''||Artist||'''BLANK'''||'''Various Artists'''||'''ZZZH'''||'''Singles'''||'''BLANK'''||'''BLANK'''||Genre||'''1'''
 +
|-
 +
|Soundtracks||Title||TrackNum||Artist||'''BLANK'''||'''Various Artists'''||'''ZZZL'''||Album||''Directory2 [Disc n]''||Disc||'''Soundtrack (24)'''||'''1'''
 +
|-
 +
|Spoken||Title||TrackNum||Artist||'''BLANK'''||''Directory1''||'''ZZZP'''||Album||''Directory2 [Disc n]''||Disc||Genre||'''BLANK'''
 +
|-
 +
|Fun||Title||'''BLANK'''||Artist||'''BLANK'''||'''BLANK'''||'''ZZZT'''||'''Fun'''||'''BLANK'''||'''BLANK'''||'''Comedy (57)'''||'''1'''
 +
|}
  
hedp.e. t shirt http://chmost.tripod.com/moviewatchers.com.html moviewatchers.comlowes cineplex http://chmost.tripod.com/home-star-runner.com.html home star runner.comb.c. spca http://chmost.tripod.com/lowes.com-feedback.html lowes.com feedbackvictor valley ca.exit realty http://chmost.tripod.com/cocoa-beach-fla.-realty.html cocoa beach fla. realtyodeon.co uk brighton http://chmost.tripod.com/newstar-victoria.html newstar victoriawww.victoria sicrete.com http://chmost.tripod.com/hedp.e.-t-shirt.html hedp.e. t shirtdr.katherine bean http://chmost.tripod.com/moviewatcher.com.html moviewatcher.comlowes.com feedback http://chmost.tripod.com/aws-d1.1-code-spectes.html aws d1.1 code specteswww.jay ross.com http://chmost.tripod.com/lathem-realty-inc.html lathem realty inclolitas room.net http://chmost.tripod.com/www.six-star-replicas.com.html www.six star replicas.com
+
* '''Albums''': eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:$artist" --set-text-frame="TSO2:" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:" $file
 +
* '''Compilations''': eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZD" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:1" $file
 +
* '''Singles''': eyeD3 --to-v2.3 --set-text-frame="TRCK:" --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZH" --set-text-frame="TALB:Singles" --set-text-frame="TSOA:" --set-text-frame="TPOS:" --set-text-frame="TCMP:1" $file
 +
* '''Soundtracks''': eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZL" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:1" $file
  
fatherknowsbest.uuss videosx http://commedal.tripod.com/nga.gov-collection-gallery-iad.htm.html nga.gov collection gallery iad.htmdr. patrick henry bitter http://commedal.tripod.com/fujimori-target.2.html fujimori target.2www.m.c.f.c.uk http://commedal.tripod.com/www1-03.xanga.com-cambrooks316.html www1 03.xanga.com cambrooks316sanofi aventis private co. ltd http://commedal.tripod.com/teenage.nude.girls.html teenage.nude.girlsbupersinst 1430.16 http://commedal.tripod.com/sawmill-6.5.2-log-analyser.html sawmill 6.5.2 log analysernew castle co http://commedal.tripod.com/barbro-naturist.html barbro naturistsaturn .com http://commedal.tripod.com/teenage-model-cynthia.com.html teenage model cynthia.comdr. munr kazmir nj http://commedal.tripod.com/u.s.tsubaki.html u.s.tsubaki6.1 creative labs speakers http://commedal.tripod.com/www.mcfc.co.uk.html www.mcfc.co.ukwhere is winfield ks
+
=== File Ownership ===
 +
* chown root:admin $file
 +
* chmod 664 $file
 +
* chown root:admin $dir
 +
* chmod 775 $dir
  
remington 788 clip .243 http://camppinnacle.iespana.es/www.purenudism.com.html www.purenudism.comancient history.com http://camppinnacle.iespana.es/www.-miniclip.com.html www. miniclip.comwipeout 3.pbp http://camppinnacle.iespana.es/vita-t.v.html vita t.vruger .22 cal clip http://camppinnacle.iespana.es/mini-models.com.html mini models.comwww.purenudism.net http://camppinnacle.iespana.es/www-nudism-pure-com.html www nudism pure commap http://camppinnacle.iespana.es/resourcenow.com-nudism.html resourcenow.com nudismwindows system driver usbstor.sys http://camppinnacle.iespana.es/www.vita-in-campagna.html www.vita in campagnabeta 101.41 geforce drivers http://camppinnacle.iespana.es/index.html indexwipeout ent http://camppinnacle.iespana.es/bed-clip.com.html bed clip.compixel shader1.1 http://camppinnacle.iespana.es/nvidia-geforce-ddr-5.6.7.3.html nvidia geforce ddr 5.6.7.3
+
== Measuring LAN performance ==
 +
Host 1 (linux):
 +
<pre>
 +
iperf -s -p 8123
 +
</pre>
 +
Host 2 (mac):
 +
<pre>
 +
~/bin/iperf -c host1 -p 8123
 +
</pre>
  
patrick f. meegan http://quiltmommy.angelfire.com/jenniferschoenky.monke.html jenniferschoenky.monkeinnocenthigh.com http://quiltmommy.angelfire.com/www.neopets.com-treasure.html www.neopets.com treasurewww.mexicana.com http://quiltmommy.angelfire.com/neopets.altador-help.html neopets.altador helpneopets.comn http://quiltmommy.angelfire.com/alt.binaries.pictures.erotica.mclt.html alt.binaries.pictures.erotica.mcltwwww.neopets.com http://quiltmommy.angelfire.com/www.listlolitas.com-index.html www.listlolitas.com indexinnocenthigh.com preview http://quiltmommy.angelfire.com/urls.gov.html urls.govlayouts for the streetspace.com http://quiltmommy.angelfire.com/myspace-.com.html myspace .comclick to pay.com http://quiltmommy.angelfire.com/poconos.com.html poconos.commap http://quiltmommy.angelfire.com/crazy-monkey-games.com.html crazy monkey games.comcrazy monkeygames.com http://quiltmommy.angelfire.com/www.neopet.com.html www.neopet.com
+
== screen: Start a screen session with a title ==
 +
  screen -S <title>

Latest revision as of 08:59, 3 November 2021

Find open files on mount

 sudo lsof +f -- /var/media

Also useful in case you're trying to work out why an unmounted partition is still showing as 'in use' in tools like e2fsck:

 sudo fuser -v -m /dev/sdX1

List hardware details

sudo lshw -businfo

Add swap space

  • Create swap partition using fdisk
  • Create swap filesystem
sudo mkswap <device>
  • Activate swap
sudo swapon <device>
  • Modify /etc/fstab to allow swap to be activated at boot time

Change userid/groupid for an existing user/group

  • Change groupid in /etc/group
  • Run sudo grpconv to update /etc/gshadow
  • Change userid in /etc/passwd (and also the primary groupid for any changed groupids)
  • Run sudo pwconv to update /etc/shadow

Music Naming Strategy

Type Title TrackNum Artist Sort Artist Album Artist Sort Album Artist Album Sort Album Disc Genre Compilation
TIT2 TRCK TPE1 TSOP TPE2 TSO2 TALB TSOA TPOS TCON TCMP
Albums Title TrackNum Artist BLANK Directory1 BLANK / Number word Album Directory2 [Disc n] Disc Genre BLANK
Compilations Title TrackNum Artist BLANK Various Artists ZZZD Album Directory2 [Disc n] Disc Genre 1
Singles Title BLANK Artist BLANK Various Artists ZZZH Singles BLANK BLANK Genre 1
Soundtracks Title TrackNum Artist BLANK Various Artists ZZZL Album Directory2 [Disc n] Disc Soundtrack (24) 1
Spoken Title TrackNum Artist BLANK Directory1 ZZZP Album Directory2 [Disc n] Disc Genre BLANK
Fun Title BLANK Artist BLANK BLANK ZZZT Fun BLANK BLANK Comedy (57) 1
  • Albums: eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:$artist" --set-text-frame="TSO2:" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:" $file
  • Compilations: eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZD" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:1" $file
  • Singles: eyeD3 --to-v2.3 --set-text-frame="TRCK:" --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZH" --set-text-frame="TALB:Singles" --set-text-frame="TSOA:" --set-text-frame="TPOS:" --set-text-frame="TCMP:1" $file
  • Soundtracks: eyeD3 --to-v2.3 --set-text-frame="TSOP:" --set-text-frame="TPE2:Various Artists" --set-text-frame="TSO2:ZZZL" --set-text-frame="TSOA:$album" --set-text-frame="TCMP:1" $file

File Ownership

  • chown root:admin $file
  • chmod 664 $file
  • chown root:admin $dir
  • chmod 775 $dir

Measuring LAN performance

Host 1 (linux):

iperf -s -p 8123

Host 2 (mac):

~/bin/iperf -c host1 -p 8123

screen: Start a screen session with a title

 screen -S <title>