need to transfer a file called ‘some cool movie.avi’ that contains whitespace under rsync. How do I escape a filename or directory name with spaces in them while using rsync command under Linux / *BSD / Unix like operating systems? How do I use rsync when files / dirs contain spaces? [click to continue…]
am new to Linux sysadmin work. I am using vi / vim text editor to edit files located in /etc/ directory. I open files using
vi /etc/resolv.conf /etc/hosts
I can edit the /etc/resolv.conf file only. How do I switch between the two open files while using vim text editor under Linux / BSD / Apple OS X / Unix like operating systems?
[click to continue…]
am a new Unix / Linux / Apple OS X user. What is my path in CSH / TCSH shell? How do I set or modify path in c shell (CSH) on Unix like operating systems? [click to continue…]
do I change passwords for specific user account under Linux operating system using the command line? [click to continue…]
‘m using rsnapshot filesystem snapshot utility
to make incremental snapshots of local and remote filesystems for 10 production servers running on RHEL 5.x system. The rsnapshot commands
makes extensive use of hard links
, so if the file doesn’t change, the next snapshot is simply a hard link to the exact same file. How do I use the rsync command to copy my the entire snapshot directory /raid6/rsnapshot/ (around 4TB) to a remote server for mirroring purpose? [click to continue…]
How do I shutdown a Linux powered server using command line option?
[click to continue…]
ow do I remove a user’s access from my server? How do I delete a user account under Linux operating systems include home directory and running cron jobs? [click to continue…]
ow do I suspend or hibernate from bash shell command line under Linux operating systems? How do I suspend or hibernate my Ubuntu Dell laptop using command line, without using additional software? [click to continue…]
ow do I use export command under a Linux or Unix-like operating systems to set variables on a bash shell? [click to continue…]