Skip to Content

Archive for the ‘terminal’ Category

Deleting Users & Their Home Folder From Ubuntu Linux

Thumbnail : Deleting Users & Their Home Folder From Ubuntu Linux

So, looking to delete a user from Ubuntu linux? Run the following command to delete the user: sudo userdel username Please note, deleting the user doesn’t delete their home folder. So you will need to decide if you want to retain it or delete it as well. Run the following command to delete the users [...]

How To Move Files from One Server to Another With SCP SSH

You can easily move files from one server to another with the SCP command. How To Move Files from One Server to Another With SCP SSH 1. Open an SSH session in Terminal 2. Navigate to files/folder you wish to move 3. Optionally tar.gz the files/folder 4. In Terminal type: scp file.tar.gz user@remote.server.com:/path/to/where/to/want/to/put/file.tar.gz That will [...]

Terminal Command to Stop Crash Report Popups

When an app crashes, Mac OS X pops open a crash report dialog box. Since I never really use this feature here is a simple Terminal command to rid yourself of them: defaults write com.apple.CrashReporter DialogType none If for any reason you want to reactivate the crash reports, retype the code replacing “none” with “prompt”.

Bashrc Example

I was recently looking for some examples of a bashrc file. I figured I would post my current .bashrc file…. # ~/.bashrc: executed by bash for non-login shells. ############## # Bash Prompts # ############# # [12:34] ~/desktop $ export PS1=”\[[\A]\] \w $ ” umask 022 ####################### # setting up file completion # ###################### if [ [...]

Page : 1 / 3 1 2 3 Last ›