linux - ppawelcz/ppwiki GitHub Wiki
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.
3. Type "grub" which makes a GRUB prompt appear.
4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.
5. Type "root (hd0,3)".
6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".
7. Type "quit".
8. Restart the system. Remove the bootable CD.
--files
for i in $( find $1 -type d -mtime +$2 -print )
do
tar cpf "$i.tar" "$i"
gzip "$i.tar"
done
fitness:oracle$ screen -ls
There is a screen on:
15412.kpn_demo_dps (Detached)
1 Socket in /var/run/screen/S-oracle.
fitness:oracle$ screen -S 21383 -X quit
###kill user processes
Method One
The first method is to feed kill command with a list of process IDs generated by ps command.
$ ps -ef | grep xmodulo | awk '{ print $2 }' | sudo xargs kill -9
Method Two
A more convenient way to look up processes based on user name is to use pgrep.
$ pgrep -u xmodulo | sudo xargs kill -9
cat /proc/cpuinfo | grep "physical id." | sort | uniq | wc -l
4
Cores count
cat /proc/cpuinfo | grep "cpu cores" | uniq
6
Virtual processors count?
cat /proc/cpuinfo | grep "^processor"
http://thedaneshproject.com/posts/how-to-find-the-number-of-physical-cpus-in-linux/
- zajęność miejsca na dysku
df -h
- zajętośc miejsca na ASM/RAC
asmcmd -p lsdg
- zajętość pojedynczego ktalogu
du -sh /u01_BSCM
- Co ile zajmuje na serwerze?
du -m --max-depth 8 /u01_BSCM | sort -rn | head -20
- Ile miejsca w bizacym katalogu?
bash du -ch --max-depth 1 .
top -obciązenie systemu load average: -zużycie cpu Cpu(s): -zużycie pamięci Mem: -zuzycie Swap Swap:
--memory usage free -m Właściwa ilość wolnej pamięci jest w kolumni free -/+ buffers/cache:
vmstat iostat
Screen --uruchamianie screen -S --wznawianie screen -r --wychodzenie ze screena Ctrl+A Ctrl+D
--W przypadku bash: Bad interpreter sed -i 's/\r//' .sh
--ścieżki to logów baz i aplikacji KPN
Cron --wylistowanie crontab -l --edytowanie crontab -e format wpisu:
Znaczenie pól czasowych:
- Minuta (zakres 0-59)
- Godzina (zakres 0-23)
- Dzień (zakres 0-31)
- Miesiąc (zakres 0-12 lub nazwa, pierwsze 3 litery nazwy angielskiej)
- Dzień_Tygodnia (zakres 0-7 lub nazwa, pierwsze 3 litery nazwy angielskiej)
- Polecenie (reszta linii)
-sprawdzanie sesji aktywnych select * from v$session where status='ACTIVE' and type !='BACKGROUND' --sprawdzenie sesji aktywnych wykonujących się długo(powyżej 1000s) select * from v$session where status='ACTIVE' and last_call_et > 1000 and type !='BACKGROUND' --sprawdzenie zapytań wykonujących się długo select * from v$sql where sql_id IN (select sql_id from v$session where status='ACTIVE' and type !='BACKGROUND' and last_call_et > 1000
) select * from v$sql where sql_id='c08njn5nqt96r'
--procesy z najwiekszym zużyciem PGA select spid, program, pga_alloc_mem/1024/1024/1024 GB from v$process order by pga_alloc_mem desc
-sumaryczne PGA Usage select round(sum(pga_alloc_mem)/1024/1024/1024) GB from v$process
--sprawdzanie SGA SELECT * FROM v$sga
-ubijanie sesji SELECT s.inst_id, s.sid, s.serial#, p.spid, s.username, s.program, 'kill -9 '||p.spid||';' kill_command, p.spid FROM gv$session s JOIN gv$process p ON p.addr = s.paddr AND p.inst_id = s.inst_id WHERE sid IN (select sid from gv$session where MACHINE='PCJFOHS');
Wykonać kill_command na odpowiedniej instancji
http://www.sslshopper.com/ssl-checker.html#hostname=https://webservices.kpn.com [09:46:28] Paweł Walat napisał(a): http://www.sslshopper.com/ssl-certificate-not-trusted-error.html [09:49:33] Paweł Walat wysłał pliki "pp2.png", "pp3.png"
[09:51:36] Paweł Walat napisał(a): https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR657
Sprawdzenie: http://www.sslshopper.com/ssl-checker.html#hostname=https://webservices.kpn.com
Opis błędu: http://www.sslshopper.com/ssl-certificate-not-trusted-error.html
Verisign, instrukcja: https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR212
Instalacja certyfikatu na apachu: http://www.symantec.com/tv/products/details.jsp?vid=1452855338001
VeriSign Intermediate CA Certificates - download https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR657
https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR1409
Installation Instructions for SSL Certificates https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR212
Installation Instructions- Apache SSL https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR193
https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR212 https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR657 https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR212
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
- wygenerowanie klucza
openssl rsa -in private-sympac-kpn-com.key -out private-sympac-kpn-com-new.key
openssl genrsa -out webservices.kpn.com.key 2048
openssl req -new -key webservices.kpn.com.key -out webservices.csr
- wygenerowanie CSR
openssl req -new -key privkey.pem -out cert.csr
- wyswietlenie
openssl x509 -noout -text -in webservices.kpn.com.cer
TOC
{{INLINETOC}}
#####= Tips&Tricks #####=
sed -i 's/\r//' acc_dwh_db_after_refresh.sh
sed s/{ctrl+v}{ctrl+m}// rotateLog.sh > rotateLog.sh.tmp
mv rotateLog.sh.tmp rotateLog.sh
export PS1="\[\e[36;1m\]\t \[\e[32;1m\] \w\[\e[0m\] > "
dig sympac.kpn.com
dig -t soa sympac.kpn.com
dig @dns.kpn.com sympac.kpn.com
ps -ef | grep nrpe | grep -v grep | grep -v /usr/local/bin/nrpe | awk '{print $2}'
kill -9 `ps -ef | grep nrpe | grep -v grep | grep -v /usr/local/bin/nrpe | awk '{print $2}'`
grep -RHn "10.133" *
grep -RHn "NADM-05-Proxy_B2B" *
grep -RHn --exclude=*.{log,tar.gz,tgz,core,jar,bz2,dbf,zip}* "w3c4" *
find . -name "*.conf" -print | xargs grep -n "10.133"
0 0 * * * /home/tytancm/nagios/rotateLog.sh > /home/tytancm/nagios/rotate.log 2>&1
0 8 * * * /home/nagios/u01nagios/nagios2/restartNagios.sh
0 12 * * * /u01_BSCM/app/oracle/ppawelcz/sar_history.sh
0 12 * * * /DPS/dps/nagios/sar_history.sh
Znaczenie pól:
- Minuta (zakres 0-59)
- Godzina (zakres 0-23)
- Dzień (zakres 0-31)
- Miesiąc (zakres 0-12 lub nazwa, pierwsze 3 litery nazwy angielskiej)
- Dzień_Tygodnia (zakres 0-7 lub nazwa, pierwsze 3 litery nazwy angielskiej)
- Polecenie (reszta linii)
==== Crontab - log errors ====
$ crontab -e
59 23 * * * /home/john/bin/backup.sh > /home/john/logs/backup.log 2>&1
//
**> /home/john/logs/backup.log** indicates that the standard output of the backup.sh script will be redirected to the backup.log file.
**2>&1** indicates that the standard error (2>) is redirected to the same file descriptor that is pointed by standard output (&1).
==== Crontab - add entry ====
crontab -l > file; echo '*/5 * * * * /root/myscript.sh >/dev/null 2>&1' >> file; crontab file
Ctrl + Shift
echo "" > file.log
truncate -s 0 test.txt
grep -e foo -e bar *.txt
ln -s /u01_DWHCOMMON/app/oracle/ ./common
cat ~/.ssh/id_rsa.pub | ssh $USER@$host "cat > tmp.pub; grep -q -F -f tmp.pub .ssh/authorized_keys || cat tmp.pub >> .ssh/authorized_keys; rm tmp.pub";
echo $a | awk '{print tolower($0)}'
echo $a | tr '[:upper:]' '[:lower:]'
$ echo $VAR_NAME | tr '[:upper:]' '[:lower:]'
$ echo $VAR_NAME | tr '[:lower:]' '[:upper:]'
for f in _VERIFY_* ; do mv "$f" "PROD_$f" ; done
basename httpd-2.2.14.tar.gz .tar.gz
dirname "/home/one/two/three/myfile.txt"
scp test.txt [email protected]:/home/proxy_acc/certs/temp
du -sh /u01_BSCM/oradata/
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
less apache2/logs/access_log.2014-03-18 | grep vamo11 |cut -d ':' -f 2 | sort | uniq -c
less apache2/logs/access_log.2014-03-18 | grep vamo21 |cut -d ':' -f 2 | sort | uniq -c
bzip2 server.log.2011*
--wszystkie
bzip2 *log.2012-0[8-9]**
rename 's/\.DWH$//' *.DWH
for file in *.src
do
mv ${file} ${file/.src/.c}
done
{{filelist>lib/skrypty/&style=olist&direct=1&recursive=1&sort=iname}} {{filelist>lib/skrypty/&style=table&direct=1}}
2 apt-get update
3 apt-get install linux-headers-generic
4 apt-get dist-upgrade
5 apt-get install nvidia-current-updates
6 nvidia-xconfig
7 reboot
8 dpkg -i opera-stable_34.0.2036.47_amd64.deb
9 dpkg -i opera_12.16.1860_i386.deb
10 apt-get install -f opera
11 apt-get install -f opera produces
12 apt-get install -f produces
13 apt-get install -f
14 cat /proc/cpuinfo
15 apt-get install imwheel
16 pwd
17 nano .imwheelrc
18 imwheel
19 nano .imwheelrc
20 ps | grep imwheel
21 ps aux | grep imwheel
22 kill 2251
23 ps aux | grep imwheel
24 imwheel
25 nano .imwheelrc
26 nano ~/.kde/share/config/kwinrc
27 exit
28 apt-get remove gnome-screensaver
29 apt-cache search screen
30 apt-cache search screensaver
31 apt-get install xscreensaver*
32 apt-get install synaptic
33 apt-get install flashplugin-installer
34 cat /proc/cpuinfo
35 apt-get install cinnamon-desktop-environment
^opera$"
None, Up, Button4, 3
None, Down, Button5, 3
"^firefox$"
None, Up, Button4, 3
None, Down, Button5, 3
http://askubuntu.com/questions/255890/how-can-i-adjust-the-mouse-scroll-speed http://www.shellhacks.com/en/HowTo-Install-and-Configure-Conky-in-Linux-Mint-Ubuntu-Debian
-
Instalacja latex ubuntu apt-get install kdm 11 apt-cache search kdm 12 apt-get install kdmtheme 13 apt-get install kde-kdm-themes 22 apt-get remove kdmtheme 23 apt-get remove kde-kdm-themes 32 apt-get install --reinstall kdm 33 apt-get install --reinstall kde 38 apt-get install --reinstall xserver-xorg 39 apt-cache search intel 40 apt-get install --reinstall xserver-xorg-video-intel 67 apt-cache search kde4 68 apt-cache search kde4base 69 apt-cache search kde4-base 70 apt-cache search kde4 base 71 apt-get install kdebase-kde4 -s 72 apt-get install kdebase-kde4 73 apt-get install kdm4 74 apt-cache search kdm 75 apt-get install kdm-kde4 79 apt-get remove gdm 80 apt-get remove kdm-kde4 86 for a in
dpkg -l | grep kde4 | awk '{print $2}'
; do apt-get remove --purge $a; done 150 apt-get install krusader 165 apt-get install krusader 166 apt-cache search acro 167 apt-cache search acroread 232 apt-get install gnuplot 233 apt-get install tetex-base 234 apt-get install tetex-bin 235 apt-get install tetex-extra 236 apt-get install kile 238 apt-get install tetex-extra 319 apt-get install tetex 320 apt-cache serach tetex 321 apt-cache search tetex 322 apt-get install tetex-bin 323 apt-get install tetex-base 324 apt-get install tetex-base-bin 326 apt-get install rtf2latex 327 apt-cache search latex 328 apt-cache search rtf2 419 apt-cache search eps2pdf 420 apt-cache search eps2 421 apt-cache search eps 422 apt-get install texlive-extra-utils 423 apt-get install texlive-science 444 apt-cache search ssh 445 apt-get install openssh-server openssh-client 482 apt-get install latex-beamer- Historia ubuntu
5 apt-cache search kdm
6 apt-get install kdmtheme
7 apt-get install kde-kdm-themes
8 dpkg -L kdmtheme
9 kdmtheme
10 thinkpad-keys
11 ktm
12 cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bakk
13 dpkg -reconfigure xserver-xorg
14 dpkg-reconfigure xserver-xorg
15 /etc/init.d/kdm restart
16 apt-get remove kdmtheme
17 apt-get remove kde-kdm-themes
18 cp xorg.conf.bakk xorg.conf
19 nano xorg.conf
20 /etc/init.d/kdm restart
21 nano /etc/X11/xorg.conf
22 cp /etc/X11/xorg.conf.bakk
23 cp /etc/X11/xorg.conf.bakk /etc/X11/xorg.conf
24 nano /etc/X11/xorg.conf
25 /etc/init.d/kdm restart
26 apt-get install --reinstall kdm
27 apt-get install --reinstall kde
28 /etc/init.d/kdm restart
29 cp /etc/X11/xorg.conf.bakk /etc/X11/xorg.conf
30 ls
31 /etc/init.d/kdm restart
32 apt-get install --reinstall xserver-xorg
33 apt-cache search intel
34 apt-get install --reinstall xserver-xorg-video-intel
35 /etc/init.d/gdm restart
36 passwd
37 dpkg -l | grep ^rc
38 xrandr
39 man xrad
40 man xrandr
41 xrandr -fb 1440x900
42 xrandr -s 1440x900
43 /etc/init.d/kdm restart
44 cd /usr/share/
45 ls
46 cd kde
47 ls
48 cat /etc/X11/xorg.conf
49 ls
50 dpkg -L kdm
51 cd /usr/share/apps/kdm/
52 ls
53 mc
54 cd /etc/kde3/kdm/
55 ls
56 mc
57 cd /usr/share/kubuntu-default-settings/
58 ls
59 cd ..
60 ls
61 apt-cache search kde4
62 apt-cache search kde4base
63 apt-cache search kde4-base
64 apt-cache search kde4 base
65 apt-get install kdebase-kde4 -s
66 apt-get install kdebase-kde4
67 apt-get install kdm4
68 apt-cache search kdm
69 apt-get install kdm-kde4
70 /etc/init.d/kdm-kde4 restart
71 xrandr
72 exit
73 apt-get remove gdm
74 apt-get remove kdm-kde4
75 rm -f /etc/init.d/kdm-kde4
76 ls
77 dpkg -l | grep kde4
78 dpkg -l | grep kde4 | cut -f2
79 dpkg -l | grep kde4 | awk '{print $2}'
80 for a in
dpkg -l | grep kde4 | awk '{print $2}'
; do apt-get remove --purge $a; done 81 ls 82 /etc/init.d/kdm restart 83 cd /usr/share/apps/kdm/ 84 ls 85 mc 86 cd /etc/kde/kdm 87 cd /etc/kde/kde3/ 88 cd /etc/kde3/kdm/ 89 ls 90 grep -R circle * 91 grep -R kubuntu 92 grep -R kubuntu * 93 grep -R '/usr/share' * 94 ps aux | grep kdm 95 lsof | grep kdm 96 less /var/log/kdm.log 97 less /var/log/kdm.log 98 cd /etc/kde3/kdm/ 99 nano kdmrc 100 /etc/init.d/kdm restart 101 nano /etc/kde3/kdm/kdmrc 102 /etc/init.d/kdm restart 103 mc 104 nano /etc/kde3/kdm/kdmrc 105 fdisk -l 106 mount /dev/sdb6 /mnt/ 107 mount /dev/sdb6 /mnt 108 mount /dev/sdb6 /mnt -t ntfs 109 fdisk -l 110 mount /dev/sdb5 /mnt 111 ls 112 cd /mnt/ 113 ls 114 umoun /mnt 115 umount /mnt 116 umount -l 117 umount -l /mnt 118 mount /dev/sdb5 /mnt 119 fdisk -l 120 mount /dev/sdc5 /mnt 121 cd /mnt 122 ls 123 dhclient 124 dhclient 125 ps aux 126 ps aux | grep opera 127 kill -9 6783 128 kill -9 6601 129 dhclient 130 dhclient 131 dhclient 132 dhclient 133 ls 134 fdisk -l 135 mount /dev/sda5 /mnt 136 ls 137 fdisk -l 138 fdisk -l 139 mcedit /etc/fstab 140 cd /media/ 141 mkdir usb 142 ls 143 mount /dev/sdb1 /media/usb/ 144 apt-get install krusader 145 ls 146 mc 147 cd /usr/lib/ 148 ls 149 cd /opt/ 150 ls 151 cd firefox 152 ls 153 cd plugins/ 154 ls 155 ls -l 156 cd .. 157 ls -l 158 mc 159 apt-get install krusader 160 apt-cache search acro 161 apt-cache search acroread 162 locate nppdf.so 163 cd .. 164 ls 165 fdisk -l 166 cd mnt 167 cd /mnt 168 ls 169 mount /dev/sda3 /mnt/ 170 ls 171 mount /dev/sda3 /mnt/ 172 mount -t ntfs /dev/sda3 /mnt/ 173 mount -t ntfs-3g /dev/sda3 /mnt/ 174 mount -t ntfs-3g /dev/sda3 /mnt/ -o force 175 ls 176 ls 177 ls -l 178 mount -t ntfs -o nls=utf8, umask=0222 /dev/sda3 /mnt/ 179 cd .. 180 cd media/ 181 ls 182 fdisk -l 183 mount /dev/sdb1 /mnt 184 ccd /mnt/ 185 cd /media/ 186 mc 187 fdisk -l 188 history 189 fdisk -l 190 reboot 191 fdisk -l 192 cd /media/ 193 ls 194 mount /dev/sda5 /mnt/ 195 ls 196 mcedit /boot/grub/menu.lst 197 reboot 198 who 199 whoami 200 nano ../crontab 201 cat ../crontab 202 cat ../crontab 203 nano ../crontab 204 nano ../crontab 205 nano ../crontab 206 cd /home/pawel/ 207 ./test.sh 208 ./test.sh 209 nano ../crontab 210 nano /etc/crontab 211 echo $PATH 212 whoami 213 wnv 214 env 215 pwd 216 cd .. 217 env 218 nano /etc/crontab 219 nano /etc/crontab 220 mount /dev/sdb1 /mnt/ 221 ls /mnt/ 222 umount /mnt/ 223 ls /mnt/ 224 exit 225 mount /dev/sda5 /mnt/ 226 apt-get install gnuplot 227 apt-get install tetex-base 228 apt-get install tetex-bin 229 apt-get install tetex-extra 230 apt-get install kile 231 umount /dev/sdb1 232 apt-get install tetex-extra 233 exit 234 mount /dev/sda1 /mnt/ 235 ls -l /mnt/ 236 umount /mnt 237 mount /dev/sda4 /mnt/ 238 mount /dev/sda3 /mnt/ 239 ls -l /mnt/ 240 cd /mnt/Documents\ and\ Settings/pawel/Desktop/ 241 cp wyniki_symulacji0,2.pdf /home/pawel/pracam/wyniki/ 242 umount /mnt 243 de 244 cd 245 umount /mnt 246 umount /mnt/ 247 mount /dev/sdb1 /mnt/ 248 man mount 249 man mount | grep write 250 mount /mnt/ 251 umount /mnt/ 252 mount -w /dev/sdb1 /mnt/ 253 pwd 254 man cp 255 cp -r /home/pawel/pracam/wyniki/ /mnt/ 256 umount /mnt/ 257 umount /mnt/ 258 halt 259 mount /dev/sdb1 /mnt 260 ls 261 ls /mnt/ 262 cp /mnt/3_6E_Pawelczak_Pawel_Wojcik_Karol.zip . 263 cd /mnt/ 264 mkdir wyniki2 265 cp -r /home/pawel/pracam/wyniki/ /mnt/wyniki2/ 266 umount /mnt/ 267 umount /mnt/ 268 c d 269 cd 270 umount /mnt/ 271 exit 272 mount /dev/sda5 /mnt 273 cd /mnt/ 274 ls 275 cd dc++/ 276 ls 277 cd .. 278 cd nauka/ 279 ls 280 cd .. 281 ls 282 cd filmy/ 283 ls 284 gmplayer My\ First\ Sex\ Teacher\ -\ Mrs.\ Starr\ Foursome.mpg 285 cd .. 286 cd nauka/ 287 ls 288 gmplayer Secretaire.A.Plein.Temps.avi 289 umount /mnt/ 290 umount /mnt/ 291 halt 292 mount /dev/sda5 /mnt/ 293 gmplayer /mnt/nauka/Secretaire.A.Plein.Temps.avi 294 umount /mnt/ 295 exit 296 ls 297 cp -r wyniki /home/pawel/pracam/xx/ 298 exit 299 chown -R pawel.pawel xx/wynikiNowe/ 300 ls -l xx/ 301 exit 302 ls 303 mount /dev/sda5 /mnt/ 304 cd /mnt/ 305 ls 306 gmplayer ./nauka/Secretaire.A.Plein.Temps.avi 307 cp nauka/Secretaire.A.Plein.Temps.avi /home/pawel/ 308 umount /mnt/ 309 umount /mnt/ 310 umount /mnt/ 311 cd /home/pawel/ 312 umount /mnt/ 313 apt-get install tetex 314 apt-cache serach tetex 315 apt-cache search tetex 316 apt-get install tetex-bin 317 apt-get install tetex-base 318 apt-get install tetex-base-bin 319 exit 320 apt-get install rtf2latex 321 apt-cache search latex 322 apt-cache search rtf2 323 cd pracam/ 324 ls 325 dpkg -i rtf2latex_1.0fc2-4_i386.deb 326 rtf2latex 327 mount /dev/sda5 /mnt/ 328 cd .m nauka/ 329 cd /mnt/ 330 ls 331 cp schematag.PNG /home/pawel/pracam/latex/aghdpl/ 332 umount /mnt/ 333 cd /home/pawel/ 334 umount /mnt/ 335 exit 336 ls 337 mount /dev/sda5 /mnt/ 338 ls 339 cd /mnt/ 340 ls 341 cd nauka/praca\ magisterska/ 342 ls 343 ls GaApplication/ 344 ls hmo/ 345 cd hmo/HMO\ -\ aktualne 346 ls 347 cp HMO-Pawlowski-Pawelczak.rtf /home/pawel/pracam/latex/aghdpl/ 348 umount /mnt/ 349 cd /home/pawel/ 350 umount /mnt/ 351 exit 352 mount /dev/sdb1 /mnt 353 mount /dev/sdb1 /mnt 354 mount /dev/sdb1 /mnt 355 chown pawel.pawel krowa.plt 356 exit 357 nano /etc/fstab 358 mount /dev/sdb1 /mnt 359 cd /mnt/ 360 ls 361 ls /home/pawel/pracam/wynikiNowe/ 362 cd wyniki/ 363 ls 364 cp -r . /home/pawel/pracam/wynikiNowe/ 365 nano /etc/fstab 366 chown pawel.pawel putFilesInLatex.sh 367 exit 368 mount /dev/sda5 /mnt/ 369 cd /mnt/ 370 ls 371 cd xxx/ 372 ls 373 man cp 374 cd .. 375 cp -r xxx/ /home/pawel/pracam/ 376 cd /home/pawel/ 377 ls 378 cd pracam/ 379 ls 380 ls -l 381 chown -R pawel.pawel xxx/ 382 ls- l 383 ls -l 384 ls -l xxx/ 385 exit 386 ls 387 mount /dev/sdb1 /mnt 388 cd /mnt/ 389 ls 390 cp -r GaApplication/ /home/pawel/pracam/ 391 chown pawel.pawel /home/pawel/pracam/GaApplication/ 392 exit 393 chown -R pawel.pawel GaApplication/ 394 exit 395 mount /dev/sdb1 /mnt/ 396 cat TODO 397 find . -name mac 398 cd .. 399 find . -name mac 400 ............................../.// 401 exit 402 ifconfig 403 mount /dev/sda5 /mnt 404 cd /mnt/ 405 ls 406 cd nauka/praca\ magisterska/GaApplication/ 407 ls 408 cd.. 409 cd nauka/praca\ magisterska/GaApplication/ /home/pawel/pracam/GaApplication2 410 cp -r nauka/praca\ magisterska/GaApplication/ /home/pawel/pracam/GaApplication2 411 cp -r GaApplication/ /home/pawel/pracam/GaApplication2 412 chown -R pawel.pawel /home/pawel/pracam/GaApplication2/ 413 apt-cache search eps2pdf 414 apt-cache search eps2 415 apt-cache search eps 416 apt-get install texlive-extra-utils 417 apt-get install texlive-science 418 cd .. 419 ls 420 cd GaApplication2 421 ls 422 sl obj/ 423 ls obj/ 424 rm -rf . 425 rm -rf 426 ls 427 cd .. 428 rm -rf GaApplication2/ 429 ls 430 mkdir GaApplication2 431 mount /dev/sda5 /mnt/ 432 ls 433 cd /mnt/ 434 ls 435 cp -r nauka/praca\ magisterska/GaApplication/ /home/pawel/pracam/GaApplication2/ 436 chown -R pawel.pawel /home/pawel/pracam/GaApplication2 437 exit 438 apt-cache search ssh 439 apt-get install openssh-server openssh-client 440 mount /dev/sda5 /mnt/ 441 ls 442 cd /mnt/ 443 ls 444 cd nauka/praca\ magisterska/ 445 ls 446 mc 447 ls 448 cd latex/ 449 ls 450 cp -R aghdpl/* /home/pawel/pracam/latex/aghdpl 451 ls -l /home/pawel/pracam/latex/aghdpl 452 chown -R pawel.pawel /home/pawel/pracam/latex/aghdpl 453 ls -l /home/pawel/pracam/latex/aghdpl 454 ps aux | grep praca 455 kill -9 27320 456 ps aux | grep praca 457 mount /dev/sda5 /mnt 458 cp -R /mnt/nauka/praca\ magisterska/latex/aghdpl/* pracam/latex/aghdpl 459 chown -R pawel.pawel pracam/latex/aghdpl 460 umount /dev/sdb 461 ls /mnt/ 462 umount /dev/sdb 463 ls 464 mount /dev/sda5 /mnt 465 cp -R pracam/doxy/genderedGA62/ /mnt/ 466 chown -R pawel.pawel /mnt/genderedGA62/ 467 umount /mnt/ 468 mount /dev/sda5 /mnt 469 ls 470 cp -R latex/ /mnt/ 471 chown -R pawel.pawel /mnt/latex/ 472 cp -R doxy/ /mnt/ 473 chown -R pawel.pawel /mnt/doxy/ 474 ls 475 reboot 476 apt-get install latex-beamer 477 exit 478 ls 479 mount /dev/sda5 /mnt/ 480 cd /mnt/ 481 ls 482 mount /dev/sda4 /mnt 483 mount /dev/sda5 /mnt 484 cp cv_pl.pdf /mnt/ 485 reboot 486 mount /dev/sda4 /mnt 487 mount /dev/sda5 /mnt 488 ls 489 ls -l 490 cp /home/pawel/Desktop/cv/cv_template/cv_en.pdf /mnt/ 491 ls 492 rm -rf * 493 history | grep apt 494 history 495 grub-install /dev/sda 496 grub-install /dev/sda1 497 grub 498 exit 499 history 500 history | grep kile 501 history | grep lat 502 history | grep tex 503 history 504 history > history.kubuntu
- Historia ubuntu
5 apt-cache search kdm
6 apt-get install kdmtheme
7 apt-get install kde-kdm-themes
8 dpkg -L kdmtheme
9 kdmtheme
10 thinkpad-keys
11 ktm
12 cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bakk
13 dpkg -reconfigure xserver-xorg
14 dpkg-reconfigure xserver-xorg
15 /etc/init.d/kdm restart
16 apt-get remove kdmtheme
17 apt-get remove kde-kdm-themes
18 cp xorg.conf.bakk xorg.conf
19 nano xorg.conf
20 /etc/init.d/kdm restart
21 nano /etc/X11/xorg.conf
22 cp /etc/X11/xorg.conf.bakk
23 cp /etc/X11/xorg.conf.bakk /etc/X11/xorg.conf
24 nano /etc/X11/xorg.conf
25 /etc/init.d/kdm restart
26 apt-get install --reinstall kdm
27 apt-get install --reinstall kde
28 /etc/init.d/kdm restart
29 cp /etc/X11/xorg.conf.bakk /etc/X11/xorg.conf
30 ls
31 /etc/init.d/kdm restart
32 apt-get install --reinstall xserver-xorg
33 apt-cache search intel
34 apt-get install --reinstall xserver-xorg-video-intel
35 /etc/init.d/gdm restart
36 passwd
37 dpkg -l | grep ^rc
38 xrandr
39 man xrad
40 man xrandr
41 xrandr -fb 1440x900
42 xrandr -s 1440x900
43 /etc/init.d/kdm restart
44 cd /usr/share/
45 ls
46 cd kde
47 ls
48 cat /etc/X11/xorg.conf
49 ls
50 dpkg -L kdm
51 cd /usr/share/apps/kdm/
52 ls
53 mc
54 cd /etc/kde3/kdm/
55 ls
56 mc
57 cd /usr/share/kubuntu-default-settings/
58 ls
59 cd ..
60 ls
61 apt-cache search kde4
62 apt-cache search kde4base
63 apt-cache search kde4-base
64 apt-cache search kde4 base
65 apt-get install kdebase-kde4 -s
66 apt-get install kdebase-kde4
67 apt-get install kdm4
68 apt-cache search kdm
69 apt-get install kdm-kde4
70 /etc/init.d/kdm-kde4 restart
71 xrandr
72 exit
73 apt-get remove gdm
74 apt-get remove kdm-kde4
75 rm -f /etc/init.d/kdm-kde4
76 ls
77 dpkg -l | grep kde4
78 dpkg -l | grep kde4 | cut -f2
79 dpkg -l | grep kde4 | awk '{print $2}'
80 for a in