Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to cut video and audio without re-encoding using ffmpeg

ffmpeg -i source_video.mp4 -t 50 -c copy output_video.mp4 This cuts the first 50 seconds of the video named source_video.mp4 and outputs them without any re-encoding to output_video.mp4 Another example for audio files: ffmpeg -i input_file.mp3 -ss 00:00:05 -t 00:00:21 -c copy output_file.mp3 … Continue reading

Posted in Linux | Tagged , , , | 1 Comment

Benchmarking SanDisk Extreme PRO USB Drive

Just received a 128 GB SanDisk Extreme PRO USB 3.1 Solid State Flash Drive. I wanted to check whether its speed really matches what’s advertised of up to 420 MB/s for read and 380 MB/s for write. Benchmark Details Computer … Continue reading

Posted in Bechmark, Linux | Tagged , , | Leave a comment

How to mount SSHFS from Ubuntu

A more secure alternative to NFS or SAMBA would be to use SSHFS. Besides encrypting the data stream, it has many benefits, among which: Firewall-friendly, since it uses standard SSH ports Supports PKI To mount an SSH filesystem from Ubuntu, … Continue reading

Posted in Linux | Tagged , , , , , | 1 Comment

Force uninstall Symantec Endpoint Protection from Windows without password

I figured out it would be much easier to just use the CleanWipe utility from here: https://symwisedownload.symantec.com//resources/sites/SYMWISE/content/live/TUTORIALS/124000/HOWTO124983/en_US/CleanWipe3897.zip?__gda__=1517979685_a3d644edaa4bd0b810351c5a6cab2aa6 Enjoy! Source: https://support.symantec.com/en_US/article.HOWTO124983.html

Posted in Linux, Windows | Tagged , , , , , , | Leave a comment

How to use the ip command to bring up/down the network interface on Linux

The ip command is replacing ifconfig, which is getting deprecated and some distros have already removed it. To bring a network interface down, simply run the following: sudo ip link set enp0s25 down To bring it back up: sudo ip … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment