==== Unix command line cheat sheet ======
<code>
File Commands
ls - directory listing
ls -a - directory... t directory
mkdir dir - create a directory dir
rm file - delete file
rmdir dir - delete empty directory dir
rm -r dir - recursively delete directory dir (use with caution)
rm -f file - force remove file; no error output if file does
is behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.
... ?php
/**
* Customization of the english language file
* Copy only the strings that needs to be modifie... ats. To mitigate the problem, you can upload your file in different formats for maximum browser compatib... filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would
en termed as cron jobs.
Crontab (CRON TABle) is a file which contains the schedule of cron entries to be... u can execute crontab if your name appears in the file
/usr/lib/cron/cron.allow. If that file does not exist, you can use
crontab if your name does not appear in the file
/usr/lib/cron/cron.deny.
If only cron.deny exists
udo cp ~/aws /usr/bin/
Create then an .awssecret file and open it in a text editor like nano:
nano .... GAHKWG3+1wxcqyhpj5b1Ggqc0TIxj21DKkidjfz
Save the file and change its permissions:
chmod 600 .awssecr... mkdir BUCKET
===== Create and upload the backup file =====
Next, create an encrypted tarball of the d... p it carefully. The above command will generate a file called todays_backup.tgz.aes-256-cbc. This file c
plan or sales report (or whatever else the excel file has) with colleagues, we remove the other 2 sheet... low in order to let the receivers quickly get the file. Sometimes excel files can be very huge depending... f 96dpi instead of standard 200dpi. In the Menu > File > Save As dialog box, click on “Compress pictures... ut somehow the formatting is not preserved or the file is too huge. Here is a simple hack that you may a
asic Configuration =====
DavMail's configuration file does not exist by default. Create one with your f... ldavPort=8443
Save and close the configuration file.
===== Create A SSL Certificate =====
Use the L... and convert the letsencrypt certificates to a p12 file using this script. You must use a PASSWORD on the file!
<code bash>
#!/bin/bash
sudo openssl pkcs12 -ex
thout any add-on software. To use, copy-paste the file and store it to your scripts directory (e:\etc in... by changing the times in the case, and the image file names in the gconf...
* Test by calling the sc... re available.
* add a cron task (see below)
<file bash changedesktop.sh>
#!/bin/bash ...
</file>
Note: gconftool needs some environment variable
version, the iCord HD supports FTP access to its file system. If you copy a .ts file to your pc, you can play it using VLC. However, my favorite video cuttin... dard format without loss of information.
- Copy file to pc using ftp or usb drive
- Variant 1: Use SUPER to convert to mpg type 2 file
* Output MPG (Video MPEG-I, Audio MPEG-II)
ave binary encoded Type1 fonts (a .pfb and a .pfm file) here is how to create the afm files for then:
Right clicking the .pfb file in KDE let's you install the font, but it doesn't... at OpenOffice in Linux needs an accompanying .afm file, and here's how to create the .afm file from the .pfb file:
* Install t1lib, a library for generatin
*X-like system, and can convert a flat ASCII text file to the correct man page format. txt2man (currentl... our information together into a single ASCII text file. You will still have to apply a specific formatting to your file, but nothing as complicated as troff/groff.
At t... entation, which will describe what to add to your file so that it gets correctly formatted later. The be
mple way to look up what package contains a given file? ======
apt-file search filename
or
apt-file search /path/to/file
To install apt-file, use:
apt-get install apt-file
you will need to update it
notes here: 1) This does not actually modify the file, but outputs what the file would look like if it did the replace and 2) If we left off the "g" at the e... replace the first occurrence. So let’s modify the file this time.
sed -i -r 's/#(FF0000|F00)b/#0F0/g'... places all instances of red with green in our CSS file. The -r option here gives us extra regex function
====== Opening a file manager from the term ======
How to open a file manager of the current directory in the terminal
Solu... in all desktop environments by using the default file manager:
xdg-open .
Solution 2
You can also op... terminal as if you had double clicked them in the file manager:
xdg-open file
Solution 3
If you are us
he option of rendering subtitles from an external file (.srt) on videos during playback, but many embedd... subtitle files separated (e.g. an .avi and a .srt file), you can simply use an application like ffmpegX ... erge them.
To embed the subtitles into the video file using ffmpegX:
Open ffmpegX, click the ‘Open‘ button and select your original video file. Then click on the ‘Filters‘ tab, check the ‘VOB
igure the apache2 for awstats
Copy configuration file for apache2.
cp /usr/share/doc/awstats/example... nf.d/awstats
Then edit /etc/awstats/awstats.conf file and make sure the file contains (double check the apache2 word)
LogFile="/var/log/apache2/access.lo... ogFormat=1
Now change a permission on apache log file
chmod o+r /var/log/apache2/access.log
Make it