s there is an easy way to audit and lock down (secure) Apple OS X 10.11 (El Capitan) unix operating system?
ow do I install software updates from the command line tool on my Apple Mac OS X computer? How can I remotely update my Apple computer by just sshing into a system? Is there is something like apt-get command
or yum command
for Apple OS X?
am a new Unix shell programer. How can I extract the directory name from a full path (say /nas01/data/backups/file.tar.gz)? How do I get directory name from its path on a Linux or Unix-like system?
often type the wrong command as follows under Linux bash shell:
rsync -av dir1 firstname.lastname@example.org:/path/to/dir1
cp -av file1*.txt file2*.txt /path/to/dest
I need to correct those command as follows:
rsync -av dir5 email@example.com:/path/to/dir1
cp -av delta1*.txt delta2*.txt /path/to/dest
How do I replace dir1 with dir5 or file with delta and repeat the last command under bash shell?
ow do I mirror files from remote FTP server using lftp command? How do put the entire directory from a local disk to a remote FTP server (reverse mirror) using lftp command under Linux and Unix like operating systems?
How do I remove a symlink under Apple Mac OS X using bash command line option?
I‘m using ps command to read a snapshot of the current processes under Unix / Linux operating systems. However, ps -e or ps aux only displays command / processes names. I need to see complete information about the process including all parameters passed to it. How do I see it under Unix / Linux using ps command?