Skip to content

2023

Editing Files on the Command Line

When working within JupyterHub, one can utilize the built-in Text Editor to directly edit scripts on the Yens. However, it is sometimes more convenient and faster to edit files directly from the command line, for instance if you are logged into a terminal and need to make small changes to your Slurm script prior to submission.

In this post, we will illustrate how you can do this using the Vim text editor that comes with Linux distributions and can be used on any HPC system or server. As a specific example, we will make small changes to a Python script from the command line.

How Do I Extract Compressed Files?

Compressed files are commonly used to save storage space and simplify file transfers, especially when dealing with large datasets or collections of files. Knowing how to uncompress these files is essential for quick and efficient access to your data. This guide will walk you through the process of uncompressing files on the Yens, covering several common compression formats. By following the examples below, you'll be able to handle compressed files effectively, whether for transfer or long-term storage.

SEC Filings

All companies are required to file registration statements, periodic reports, and other forms to the SEC and these filings are popular sources of data for researchers at the GSB. This post covers some of the resources available to facilitate research using these filings and a few sample workflows.