Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions homework/linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
cat selected.txt commands.txt
310 dowolny/processes.txt
message+ 726 0.0 0.1 25708 20648 ? Ss 15:06 0:02 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 846 0.0 0.3 2393460 52520 ? Ssl 15:06 0:08 /usr/bin/containerd
root 1425 0.0 0.5 2492508 83304 ? Ssl 15:06 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
heimdal 1494 1.3 0.1 85252 19156 ? S<sl 15:06 2:03 /usr/bin/pipewire
heimdal 1496 0.0 0.2 409252 32540 ? S<sl 15:06 0:01 /usr/bin/wireplumber
heimdal 1498 1.9 0.2 50132 32844 ? S<Lsl 15:06 2:50 /usr/bin/pipewire-pulse
heimdal 1502 0.0 0.0 387380 14456 ? SLsl 15:06 0:00 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring
heimdal 1504 0.0 0.0 10420 6128 ? Rs 15:06 0:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
heimdal 1673 0.0 0.0 159288 7748 tty2 Ssl+ 15:06 0:00 /usr/libexec/gdm-wayland-session /usr/bin/gnome-session
heimdal 1898 6.1 1.7 4659140 270380 ? Rsl 15:06 9:00 /usr/bin/gnome-shell
heimdal 1907 0.0 0.0 9128 4832 ? S 15:06 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus
heimdal 2165 0.0 0.2 2784536 31528 ? Sl 15:06 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications
heimdal 2188 0.0 0.0 2580 896 ? Ss 15:06 0:00 sh -c /usr/bin/ibus-daemon --panel disable $([ "$XDG_SESSION_TYPE" = "x11" ] && echo "--xim")
heimdal 2191 0.2 0.0 313232 14764 ? Sl 15:06 0:25 /usr/bin/ibus-daemon --panel disable
heimdal 2214 0.2 1.5 883620 247520 ? Sl 15:06 0:20 /usr/bin/gnome-software --gapplication-service
heimdal 2320 0.0 0.1 2718996 30828 ? Sl 15:06 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver
heimdal 2648 0.4 0.8 1015180 135684 ? Sl 15:06 0:43 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.9VB7C3 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7
heimdal 5303 0.0 0.1 1987312 27992 ? Sl 15:14 0:00 /home/heimdal/.local/kitty.app/bin/kitten __atexit__
heimdal 5310 0.0 0.0 10776 7072 pts/1 Ss 15:14 0:02 /bin/bash --posix
heimdal 8836 0.0 0.0 115996 8908 ? Ssl 15:51 0:00 /usr/bin/speech-dispatcher --spawn --communication-method unix_socket --socket-path /run/user/1000/speech-dispatcher/speechd.sock
heimdal 13463 0.0 0.1 1987312 26896 ? Sl 16:43 0:00 /home/heimdal/.local/kitty.app/bin/kitten __atexit__
heimdal 13470 0.0 0.0 8512 5596 pts/0 Ss+ 16:43 0:00 /bin/bash --posix
heimdal 14717 0.0 0.0 7824 5816 ? S 17:07 0:00 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh
1235 mkdir dowolny
1236 touch dowolny/processes.txt
1237 ps aux > dowolny/processes.txt
1238 cp dowolny/processes.txt copy.txt
1239 mkdir backup
1240 mv copy.txt backup/
1241 wc -l dowolny/processes.txt
1242 wc -l dowolny/processes.txt > selected.txt
1243 grep -n "/bin" dowolny/processes.txt >> selected.txt
1244 history
1245 history | tail -n11 > commands.txt