Often used screen commands
CTRL-a d detach from the running session CTRL-a c create a new window in the session CTRL-a p switch to the previous window CTRL-a n switch to the next window CTRL-a x switch to window x, windows start at 0
A chronological documentation test project, nothing serious, really!
CTRL-a d detach from the running session CTRL-a c create a new window in the session CTRL-a p switch to the previous window CTRL-a n switch to the next window CTRL-a x switch to window x, windows start at 0
Sometimes it is useful to collect some pictures from some different DVD’s to a new one. But what to do if the original pictures are deleted now. You can use the following command to extract the pictures first. transcode -x mpeg2 -i VTS_01_1.VOB -y im -F jpg -w 100 -F jpg, png, gif ==> picture […]
find /data/folder -type f -uid 400 -atime +2 -exec /bin/rm {} ; find /data/folder -type d -uid 400 -atime +2 | sort -r | /usr/bin/perl -e ‘foreach (<>) {chop; rmdir;
identify filnavn.jpg Resultatet av denne kommandoen er da på formen JPEG 510×445 510×445+0+0 DirectClass 8-bit 24.8691kb
#!/bin/bash for dir in /home/* do cp /path/to/file “$dir” done