During bootup, the system will execute scripts and updates and queries runlevel information for system services. Each service which should be manageable by chkconfig. These tools manage services that are started up by scripts in the /etc/rc.d/init.d directory. This command in Linux that allows you to control what services start.… Continue Reading Using chkconfig to control initscripts
I tested for these types of files AVI, FLV, MP4, and WebM. There are two problems that can occur in this case: The film is small as a dimension and allows sharing without having to consume disk space or time. In this case, we will use this:
ffmpeg -i ~/input.mp4 -an -r 20 -y %d.jpg
A common problem that can occur is the following: You made a backup of your files and have installed a Linux distribution. You realize that one of the backup files is a Nero image type: nrg. On Linux, I do not have found a solution using this type of file.… Continue Reading Convert .nrg to .iso file under linux
On the official site we find that: Alien is a program that converts between the rpm, dpkg, stampede slp, and Slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it… Continue Reading How to converts packages.
If you defragment your Windows or store your files in NTFS partitions, you can defragment the NTFS partitions using Linux OS. You must run disk management commands as the root user by using the root account.
… and give your root password when prompted.
#fsck -t ntfs --kerneldefrag /dev/hda
In this case, the… Continue Reading How to defragment NTFS partitions using Linux
This fatal error needs to run database recovery. We can do that using commands under root account:
# cd /var/lib/rpm
# rm -f __db.*
# rpm --rebuilddb
The yum command will work now.
The | operator makes bash redirect all data that the command left of it returns to the stdout Let’s try a more complex example. If you want to see the data and write to the file passed on between programs in a pipe, you can insert the tee command.
$ps aux | tee filename | grep root
As you know, year WinSCP is an open source SFTP client and FTP client for Windows. After you connect to Linux server (windows server I have not tried), press key combination:
At the bottom of the window will show an edit box WinSCP program as shown below: I used… Continue Reading Linux command execution using WinSCP.