Tag: command

Build RPM From RPM Source

Build a rpm package from a rpm source rpmbuild –rebuild package_name.src.rpm

PS Command Forest Mode

Displays linux tasks in a hierarchical mode ps -e -o pid,args –forest

Decompress Bzip2 File

Decompress a compressed tar archive in bzip2 tar -xvfj archive.tar.bz2tar -xvfj archive.tar.bz2

Encrypt/Decrypt using PGP

Usie this command to encrypt and decrypt a file using PGP in linux. gpg -c file gpg -o file -d…

Encrypt/Decrypt File using OpenSSL in Linux

Works on OS X, Linux, anywhere with OpenSSL installed: To encrypt a file: openssl des3 -salt -in infile.txt -out encryptedfile.txt…

Delete all \n chars in a file…

Delete all \n chars in a file… tr -d “\n”

Extract to Given Folder

extract a tarball into / tmp tar -xvf archive.tar -C /tmp

Add Audio to a Video File Using ffmpeg

FFMPEG command to mix an audio file with a video file to create a final video. ffmpeg -vcodec flv -qscale…

Linux Command to Convert a Video to PSP’s MP4 Format

Linux command to convert a video file to PSP format using ffmpeg. After converting, copy the OutputFile to the video…

Archive Contents

Show contents of an archive tar -tf archive.tar