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

Write and Append Permission

Allows write opening of a file only append mode chattr +a file

pwck Command

check correct syntax and file format of ‘/etc/passwd’ and users existence pwck

grpck Command

Check correct syntax and file format of ‘/etc/group’ and groups existence grpck

Delete User

Delete a user ( ‘-r’ eliminates home directory) userdel -r user1

Password Deadline

Set deadline for user password chage -E 2008-12-31 user_name

Change User Attributes

Change a user’s attributes usermod -c “User FTP” -g system -d /ftp/user1 -s /bin/nologin user1